:root {

    --bg: #ffffff;

    --text-black: #000000;

    --sub-text: #666666;

    --border: #eeeeee;

}



* { 

    margin: 0; 

    padding: 0; 

    box-sizing: border-box; 

}



body { 

    background: var(--bg); 

    color: var(--text-black); 

    font-family: 'Inter', sans-serif; 

    -webkit-font-smoothing: antialiased;

    cursor: none;

}



/* Custom Cursor */

.cursor-dot {

    width: 8px;

    height: 8px;

    background: black;

    border-radius: 50%;

    position: fixed;

    top: 0;

    left: 0;

    pointer-events: none;

    z-index: 10000;

    transition: transform 0.15s ease;

    transform: translate(-50%, -50%);

}



.cursor-outline {

    width: 30px;

    height: 30px;

    border: 1px solid rgba(0, 0, 0, 0.3);

    border-radius: 50%;

    position: fixed;

    top: 0;

    left: 0;

    pointer-events: none;

    z-index: 9999;

    transition: all 0.2s ease;

    transform: translate(-50%, -50%);

}



body.cursor-hover .cursor-outline {

    width: 50px;

    height: 50px;

    border-color: rgba(0, 0, 0, 0.5);

}



/* Navigation */

nav { 

    padding: 22px 5%; 

    display: grid;
    grid-template-columns: auto 1fr auto;

    align-items: center; 

    border-bottom: 1px solid var(--border); 

    position: sticky; 

    top: 0; 

    background: white; 

    z-index: 100; 

    opacity: 0;

    transform: translateY(-20px);

    animation: navSlideIn 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.3s;

}



@keyframes navSlideIn {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.contact-trigger { 

    border: 1px solid var(--text-black); 

    padding: 8px 24px; 

    border-radius: 20px; 

    font-size: 0.7rem; 

    text-transform: uppercase; 

    cursor: none; 

    position: relative;

    overflow: hidden;

    z-index: 1;

    background: transparent;

}



.btn-text {

    position: relative;

    z-index: 2;

    transition: color 0.4s ease;

}



.btn-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: black;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);

    z-index: 1;

}



.contact-trigger:hover .btn-bg {

    transform: scaleX(1);

}



.contact-trigger:hover .btn-text {

    color: white;

}



.logo { 

    font-weight: 700; 

    text-transform: uppercase; 

    letter-spacing: 2px; 

    display: flex;

    gap: 2px;

    justify-content: center;

}



.logo-char {

    display: inline-block;

    opacity: 0;

    transform: translateY(-20px);

    animation: charDrop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;

}



.logo-char:nth-child(1) { animation-delay: 0.5s; }

.logo-char:nth-child(2) { animation-delay: 0.6s; }

.logo-char:nth-child(3) { animation-delay: 0.7s; }

.logo-char:nth-child(4) { animation-delay: 0.8s; }

.logo-char:nth-child(5) { animation-delay: 0.9s; }

.logo-char:nth-child(6) { animation-delay: 1.0s; }

.logo-char:nth-child(7) { animation-delay: 1.1s; }

.logo-char:nth-child(8) { animation-delay: 1.2s; }

.logo-char:nth-child(9) { animation-delay: 1.3s; }



@keyframes charDrop {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.version-tag { 

    font-size: 0.65rem; 

    color: var(--sub-text); 

    opacity: 0;

    animation: fadeIn 0.8s forwards 1.5s;

    padding-left: 16px;

    border-left: 1px solid var(--border);

    letter-spacing: 1px;

}

/* Nav Icons */

.nav-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
}

.nav-icon-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: none;
    background: transparent;
    color: var(--sub-text);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s forwards 1.5s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.nav-icon-btn svg { flex-shrink: 0; transition: transform 0.3s ease; }
.nav-icon-btn:hover { border-color: var(--border); color: black; }
.nav-icon-btn:hover svg { transform: scale(1.15); }

.nav-icon-btn--accent {
    border-color: black;
    color: black;
    position: relative;
    overflow: hidden;
}

.nav-icon-btn--accent::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 0;
}

.nav-icon-btn--accent:hover::before { transform: scaleX(1); }
.nav-icon-btn--accent > * { position: relative; z-index: 1; transition: color 0.4s ease; }
.nav-icon-btn--accent:hover > * { color: white !important; }




/* Hero Section */

.c-heading { 

    height: 80vh; 

    display: flex; 

    flex-direction: column; 

    justify-content: center; 

    align-items: center; 

    text-align: center; 

    position: relative;

}



.tagline { 

    font-size: 0.65rem; 

    text-transform: uppercase; 

    letter-spacing: 4px; 

    color: var(--sub-text); 

    margin-bottom: 20px; 

    opacity: 0;

    transform: translateY(20px);

    animation: fadeInUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.8s;

}



.heading-container { overflow: hidden; }

.heading-1 { 

    font-size: clamp(2.5rem, 8vw, 6.5rem); 

    text-transform: uppercase; 

    letter-spacing: -3px; 

    line-height: 1; 

    transform: translateY(110%);

    animation: textReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; 

    position: relative;

}



.heading-1::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: black;

    animation: underlineGrow 1s ease forwards 2.5s;

}



@keyframes underlineGrow {

    to { width: 100%; }

}



.heading-1.italic { 

    font-family: 'Instrument Serif', serif; 

    font-style: italic; 

    text-transform: lowercase; 

    animation-delay: 0.3s;

}



.bio { 

    font-size: 0.95rem; 

    color: var(--sub-text); 

    max-width: 500px; 

    margin-top: 30px; 

    opacity: 0; 

    animation: fadeIn 1s forwards 1.5s; 

}



.scroll-indicator {

    position: absolute;

    bottom: 50px;

    left: 50%;

    transform: translateX(-50%);

    width: 1px;

    height: 60px;

    background: rgba(0, 0, 0, 0.1);

    overflow: hidden;

    opacity: 0;

    animation: fadeIn 1s forwards 2s;

}



.scroll-line {

    width: 100%;

    height: 30px;

    background: black;

    animation: scrollLineMove 2s ease-in-out infinite;

}



@keyframes scrollLineMove {

    0% { transform: translateY(-100%); }

    100% { transform: translateY(200%); }

}



/* Grid */

#work { 

    padding: 100px 5%; 

    border-top: 1px solid var(--border); 

    position: relative;

}



#work .tagline {

    margin-bottom: 60px;

}



.project-grid { 

    display: grid; 

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 

    gap: 50px; 

}



.reveal { 

    opacity: 0; 

    transform: translateY(80px);

    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1); 

}



.reveal.active { 

    opacity: 1; 

    transform: translateY(0); 

}



.reveal[data-index="1"] { transition-delay: 0.1s; }

.reveal[data-index="2"] { transition-delay: 0.2s; }

.reveal[data-index="3"] { transition-delay: 0.3s; }

.reveal[data-index="4"] { transition-delay: 0.4s; }

.reveal[data-index="5"] { transition-delay: 0.5s; }



/* Project Cards */

.project-card { 

    cursor: none; 

    position: relative;

}



.project-card::before {

    content: '';

    position: absolute;

    top: -10px;

    left: -10px;

    right: -10px;

    bottom: -10px;

    background: linear-gradient(45deg, transparent, rgba(0,0,0,0.03), transparent);

    opacity: 0;

    transition: opacity 0.6s ease;

    z-index: -1;

    pointer-events: none;

}



.project-card:hover::before {

    opacity: 1;

}



.project-media { 

    position: relative; 

    aspect-ratio: 16/10; 

    overflow: hidden; 

    background: #f9f9f9; 

}



.image-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 60%);

    opacity: 0;

    transition: opacity 0.6s ease;

    z-index: 1;

    pointer-events: none;

}



.project-card:hover .image-overlay {

    opacity: 1;

}



.project-media img { 

    width: 100%; 

    height: 100%; 

    object-fit: cover; 

    filter: grayscale(100%); 

    transition: all 1s cubic-bezier(0.77, 0, 0.175, 1); 

}



.project-card:hover .project-media img { 

    filter: grayscale(0%); 

    transform: scale(1.08) rotate(1deg); 

}



.status-tag { 

    position: absolute; 

    top: 20px; 

    left: 20px; 

    background: white; 

    padding: 5px 12px; 

    font-size: 9px; 

    text-transform: uppercase; 

    z-index: 2; 

    transform: translateY(-5px);

    opacity: 0;

    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.2s;

}



.project-card.active .status-tag {

    transform: translateY(0);

    opacity: 1;

}



.project-info { 

    padding: 25px 0; 

    display: flex; 

    justify-content: space-between; 

    border-bottom: 1px solid var(--border); 

    position: relative;

}



.project-info::after {

    content: '';

    position: absolute;

    bottom: -1px;

    left: 0;

    width: 0;

    height: 2px;

    background: black;

    transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1);

}



.project-card:hover .project-info::after {

    width: 100%;

}



.project-title strong { 

    display: block; 

    text-transform: uppercase; 

    margin-bottom: 5px; 

    transition: transform 0.4s ease;

}



.project-card:hover .project-title strong {

    transform: translateX(5px);

}



.project-tags {

    transition: transform 0.4s ease;

}



.project-card:hover .project-tags {

    transform: translateX(10px);

}



/* Modal & Blog Styles */

.project-modal { 

    position: fixed; 

    top: 0; 

    left: 0; 

    width: 100%; 

    height: 100%; 

    background: white; 

    z-index: 1000; 

    display: none; 

    overflow-y: auto; 

    padding: 100px 10%; 

}



.project-modal.active { 

    display: block; 

    animation: modalSlideUp 0.8s cubic-bezier(0.77, 0, 0.175, 1); 

}



@keyframes modalSlideUp {

    from { 

        opacity: 0;

        transform: translateY(100%); 

    } 

    to { 

        opacity: 1;

        transform: translateY(0); 

    }

}



.modal-content {

    animation: modalContentFade 1s ease forwards 0.3s;

    opacity: 0;

}



@keyframes modalContentFade {

    to { opacity: 1; }

}



.blog-title { 

    font-family: 'Instrument Serif', serif; 

    font-size: clamp(2.5rem, 5vw, 4.5rem); 

    font-style: italic; 

    margin: 20px 0; 

    line-height: 1; 

    opacity: 0;

    transform: translateY(30px);

    animation: fadeInUp 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.5s;

}



.blog-main { 

    display: grid; 

    grid-template-columns: 1fr 2fr; 

    gap: 50px; 

}



.blog-sidebar { 

    position: sticky; 

    top: 50px; 

    height: fit-content; 

    opacity: 0;

    transform: translateX(-30px);

    animation: fadeInLeft 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.7s;

}



@keyframes fadeInLeft {

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



.blog-hero-img { 

    width: 100%; 

    margin: 40px 0; 

    border: 1px solid var(--border); 

    opacity: 0;

    transform: scale(0.95);

    animation: imageZoomIn 1s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.6s;

}



@keyframes imageZoomIn {

    to {

        opacity: 1;

        transform: scale(1);

    }

}



.blog-content { 

    opacity: 0;

    animation: fadeIn 1s forwards 0.9s;

}



.blog-content h3 { 

    margin: 40px 0 15px; 

    text-transform: uppercase; 

    border-top: 1px solid #eee; 

    padding-top: 20px; 

    position: relative;

}



.blog-content h3::before {

    content: '';

    position: absolute;

    top: -1px;

    left: 0;

    width: 60px;

    height: 2px;

    background: black;

}



.blog-content p { 

    line-height: 1.8; 

    color: #333; 

    margin-bottom: 20px; 

}



.workflow-steps {

    margin: 30px 0;

    border-left: 2px solid black;

    padding-left: 20px;

    position: relative;

}



.workflow-steps p {

    position: relative;

    padding-left: 20px;

}



.workflow-steps p::before {

    content: '';

    position: absolute;

    left: -22px;

    top: 10px;

    width: 8px;

    height: 8px;

    background: black;

    border-radius: 50%;

}



.close-modal { 

    position: fixed; 

    top: 40px; 

    right: 5%; 

    font-size: 0.8rem; 

    text-transform: uppercase; 

    cursor: none; 

    border-bottom: 1px solid black; 

    z-index: 1001; 

    transition: transform 0.3s ease;

}



.close-modal:hover {

    transform: translateX(-5px);

}



/* Contact Overlay */


/* ══════════════════════════════════════════════════
   UNIFIED OVERLAY SYSTEM
   All overlays: Contact, Services, Remarks, Form
══════════════════════════════════════════════════ */

.overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: right 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
}

.overlay--scroll {
    overflow-y: auto;
    justify-content: flex-start;
}

.overlay.active {
    right: 0;
}

.overlay-inner {
    width: 100%;
    max-width: 600px;
}

.overlay-inner--wide {
    max-width: 900px;
}

/* Close button */
.close-btn {
    position: fixed;
    top: 40px;
    right: 5%;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: none;
    border-bottom: 1px solid black;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2001;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0;
    font-family: 'Inter', sans-serif;
    /* Hidden by default — only shown inside an active overlay */
    opacity: 0;
    pointer-events: none;
}

.overlay.active .close-btn {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.4s;
}

.close-btn:hover {
    transform: translateX(-5px);
}

/* Shared overlay title */
.overlay-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-style: italic;
    margin-bottom: 50px;
    margin-top: 20px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.overlay.active .title-word:nth-child(1) {
    transform: translateY(0);
    transition-delay: 0.2s;
}

.overlay.active .title-word:nth-child(2) {
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Contact table */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid black;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.6s;
}

.overlay.active .contact-table {
    opacity: 1;
    transform: translateY(0);
}

.contact-table tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.contact-table tr:hover {
    background: rgba(0,0,0,0.02);
}

.contact-table td {
    padding: 30px 0;
    font-size: 0.9rem;
}

.contact-table .label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sub-text);
    width: 30%;
}

.contact-table .value {
    text-align: right;
}

.contact-table .value a {
    color: black;
    text-decoration: none;
    border-bottom: 1px solid black;
    position: relative;
    transition: opacity 0.3s ease;
}

.contact-table .value a:hover {
    opacity: 0.5;
}

/* ══════════════════════════════════════════════════
   SERVICES OVERLAY CONTENT
══════════════════════════════════════════════════ */

.services-list {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
}

.overlay.active .services-list {
    opacity: 1;
    transform: translateY(0);
}

.service-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    border-top: 1px solid var(--border);
    cursor: none;
    transition: background 0.4s ease;
}

.service-row:last-child {
    border-bottom: 1px solid var(--border);
}

.service-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.service-number {
    font-size: 0.62rem;
    color: var(--sub-text);
    letter-spacing: 2px;
    padding: 30px 0;
    align-self: start;
    padding-top: 34px;
}

.service-body {
    padding: 28px 0 28px 20px;
    border-left: 1px solid var(--border);
    transition: border-color 0.4s ease;
}

.service-row:hover .service-body {
    border-color: black;
}

.service-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-name strong {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.service-row:hover .service-name strong {
    transform: translateX(5px);
}

.service-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.service-row:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 0.4s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.service-row:hover .service-detail {
    max-height: 180px;
    opacity: 1;
    margin-top: 14px;
}

.service-detail p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--sub-text);
    max-width: 580px;
    margin-bottom: 14px;
}

.service-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.service-tags-row span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--border);
    padding: 3px 10px;
    color: var(--sub-text);
    transition: all 0.3s ease;
}

.service-row:hover .service-tags-row span {
    border-color: black;
    color: black;
}

/* ══════════════════════════════════════════════════
   REMARKS OVERLAY CONTENT
══════════════════════════════════════════════════ */

.remarks-ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    margin-bottom: 50px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
}

.overlay.active .remarks-ticker-wrap {
    opacity: 1;
}

.remarks-ticker {
    display: inline-flex;
    gap: 28px;
    animation: tickerScroll 18s linear infinite;
}

.ticker-item {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--sub-text);
}

.ticker-dot {
    font-size: 0.65rem;
    color: var(--border);
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.remarks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
}

.overlay.active .remarks-grid {
    opacity: 1;
    transform: translateY(0);
}

.remark-card {
    padding: 40px 35px;
    border: 1px solid var(--border);
    margin-top: -1px;
    margin-left: -1px;
    position: relative;
    transition: background 0.4s ease;
}

.remark-card:hover {
    background: rgba(0, 0, 0, 0.02);
    z-index: 1;
}

.remark-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.remark-card:hover::after { width: 100%; }

.remark-quote {
    font-family: 'Instrument Serif', serif;
    font-size: 4rem;
    line-height: 0.5;
    color: var(--border);
    margin-bottom: 24px;
    transition: color 0.4s ease;
}

.remark-card:hover .remark-quote { color: black; }

.remark-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
    font-style: italic;
}

.remark-author {
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.author-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.65rem;
    color: var(--sub-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════
   FORM OVERLAY CONTENT
══════════════════════════════════════════════════ */

.form-overlay-body {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
}

.overlay.active .form-overlay-body {
    opacity: 1;
    transform: translateY(0);
}

.form-overlay-row {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    gap: 30px;
    position: relative;
}

.form-overlay-row:first-child {
    border-top: 1px solid var(--border);
}

.form-overlay-row::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.form-overlay-row:focus-within::after { width: 100%; }

.fo-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--sub-text);
    width: 90px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.form-overlay-row:focus-within .fo-label { color: black; }

.fo-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    color: black;
    cursor: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.fo-input::placeholder { color: #ddd; }

.fo-textarea {
    resize: none;
    height: 80px;
    line-height: 1.7;
}

.fo-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.fo-note {
    font-size: 0.68rem;
    color: var(--sub-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fo-note a {
    color: black;
    text-decoration: none;
    border-bottom: 1px solid black;
    transition: opacity 0.3s ease;
}

.fo-note a:hover { opacity: 0.5; }

.fo-submit {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: black;
    color: white;
    border: none;
    padding: 14px 40px;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.fo-submit > span:first-child {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.fo-btn-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.fo-submit:hover .fo-btn-bg { transform: scaleX(1); }
.fo-submit:hover > span:first-child { color: black; }

.fo-success {
    display: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--sub-text);
    text-align: center;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.fo-success.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════ */

/* ── TABLET (max-width: 1024px) ── */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .blog-main {
        grid-template-columns: 1fr 2fr;
        gap: 30px;
    }

    .remarks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-list {
        gap: 0;
    }

    .overlay {
        padding: 80px 6% 40px;
    }
}

/* ── MOBILE (max-width: 768px) ── */
@media (max-width: 768px) {

    /* ── Global ── */
    body {
        cursor: auto;
        -webkit-tap-highlight-color: transparent;
    }
    .cursor-dot, .cursor-outline { display: none !important; }

    /* Restore native cursors for all interactive elements */
    button, a, select, input, textarea,
    .project-card, .close-modal, .close-btn,
    .fo-submit, .contact-trigger, .nav-icon-btn,
    .service-row, .checkbox-item label {
        cursor: pointer;
    }

    /* ── Navigation ── */
    nav {
        padding: 14px 5%;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .contact-trigger {
        padding: 7px 16px;
        font-size: 0.65rem;
        order: -1;
    }

    .logo {
        letter-spacing: 1px;
        font-size: 0.8rem;
    }

    .nav-icons {
        gap: 2px;
        flex-wrap: nowrap;
    }

    .nav-icon-btn {
        padding: 8px;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-icon-btn span { display: none; }
    .nav-icon-btn--accent span { display: none; }

    .version-tag { display: none; }

    /* ── Hero ── */
    .c-heading {
        height: auto;
        min-height: 70vh;
        min-height: 70dvh;
        padding: 50px 5% 40px;
    }

    .heading-1 {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
        letter-spacing: -2px;
    }

    .bio {
        font-size: 0.85rem;
        padding: 0 5px;
        margin-top: 20px;
        max-width: 340px;
    }

    .tagline {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .scroll-indicator { display: none; }

    /* ── Project Grid ── */
    #work {
        padding: 50px 5%;
    }

    #work .tagline {
        margin-bottom: 30px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .project-media {
        aspect-ratio: 16/9;
    }

    /* On touch: always show images in color */
    .project-media img {
        filter: grayscale(0%);
    }

    .project-card .project-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 0;
    }

    .project-title strong {
        font-size: 0.85rem;
    }

    .project-title small {
        display: block;
        margin-top: 4px;
        font-size: 0.7rem;
        color: var(--sub-text);
    }

    .project-tags {
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .status-tag {
        font-size: 8px;
        padding: 4px 10px;
        opacity: 1;
        transform: translateY(0);
    }

    /* Remove hover-only animations on touch */
    .reveal {
        transition-duration: 0.8s;
    }

    .reveal[data-index="1"],
    .reveal[data-index="2"],
    .reveal[data-index="3"],
    .reveal[data-index="4"],
    .reveal[data-index="5"] {
        transition-delay: 0s;
    }

    /* ── Project Modal ── */
    .project-modal {
        padding: 60px 5% 40px;
    }

    .blog-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-sidebar {
        position: static;
        border-bottom: 1px solid var(--border);
        padding-bottom: 16px;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .blog-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin: 12px 0;
    }

    .blog-hero-img {
        margin: 20px 0;
    }

    .blog-content h3 {
        margin: 25px 0 12px;
        font-size: 0.85rem;
    }

    .blog-content p {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .close-modal {
        top: 18px;
        right: 5%;
        font-size: 0.75rem;
        padding: 8px 0;
    }

    /* ── Overlays (all) ── */
    .overlay {
        padding: 60px 5% 30px;
        justify-content: flex-start;
        padding-top: 80px;
    }

    .overlay-inner {
        padding: 0;
        width: 100%;
    }

    .overlay-inner--wide {
        max-width: 100%;
    }

    .overlay-title {
        font-size: clamp(2rem, 9vw, 3.5rem);
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 24px;
        margin-top: 10px;
    }

    .close-btn {
        top: 18px;
        right: 5%;
        font-size: 0.75rem;
        padding: 8px 0;
    }

    /* ── Contact Table ── */
    .contact-table td {
        padding: 18px 0;
        font-size: 0.8rem;
    }

    .contact-table .label {
        width: 35%;
        letter-spacing: 1px;
        font-size: 0.65rem;
    }

    .contact-table .value a {
        font-size: 0.8rem;
    }

    /* ── Services ── */
    .service-row {
        grid-template-columns: 30px 1fr;
        gap: 0;
    }

    .service-number {
        font-size: 0.65rem;
        padding-top: 24px;
    }

    .service-body {
        padding: 20px 0 20px 14px;
    }

    .service-name strong {
        font-size: 0.85rem;
    }

    .service-arrow {
        opacity: 0.4;
        transform: translateX(0);
    }

    /* On mobile, services expand on tap via JS-added class */
    .service-row.is-expanded .service-detail {
        max-height: 250px;
        opacity: 1;
        margin-top: 12px;
    }

    .service-row.is-expanded .service-arrow {
        opacity: 1;
        transform: rotate(90deg);
    }

    .service-row.is-expanded .service-tags-row span {
        border-color: black;
        color: black;
    }

    /* Disable hover expand on touch */
    .service-row:hover .service-detail {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
    }

    .service-row.is-expanded:hover .service-detail {
        max-height: 250px;
        opacity: 1;
        margin-top: 12px;
    }

    .service-detail p {
        font-size: 0.82rem;
    }

    .service-tags-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .service-tags-row span {
        font-size: 0.6rem;
        padding: 5px 10px;
    }

    /* ── Remarks ── */
    .remarks-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .remark-card {
        margin-left: 0;
        padding: 24px 20px;
    }

    .remark-quote {
        font-size: 3rem;
        margin-bottom: 16px;
        color: black;
    }

    .remark-text {
        font-size: 0.84rem;
        line-height: 1.7;
    }

    .author-name {
        font-size: 0.7rem;
    }

    .author-role {
        font-size: 0.6rem;
    }

    .remarks-ticker-wrap {
        margin-bottom: 24px;
    }

    /* ── Form Overlay ── */
    .form-overlay-body {
        gap: 0;
    }

    .form-overlay-row {
        flex-direction: column;
        gap: 8px;
        padding: 16px 0;
    }

    .fo-label {
        width: auto;
        font-size: 0.6rem;
    }

    .fo-input {
        font-size: 1rem;
        padding: 4px 0;
    }

    .fo-textarea {
        height: 100px;
    }

    .fo-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding-top: 20px;
    }

    .fo-submit {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
        font-size: 0.75rem;
    }

    .fo-note {
        text-align: center;
        font-size: 0.62rem;
    }

    /* ── Page Transition ── */
    .page-transition { display: none; }

    /* ── Disable parallax on mobile (handled in JS too) ── */
    .c-heading {
        transform: none !important;
    }
}

/* ── SMALL MOBILE (max-width: 480px) ── */
@media (max-width: 480px) {
    nav {
        padding: 12px 4%;
    }

    .contact-trigger {
        padding: 6px 14px;
        font-size: 0.6rem;
    }

    .nav-icon-btn {
        padding: 6px;
        min-width: 32px;
        min-height: 32px;
    }

    .c-heading {
        min-height: 60vh;
        min-height: 60dvh;
        padding: 40px 5% 30px;
    }

    .heading-1 {
        font-size: clamp(2rem, 13vw, 3rem);
        letter-spacing: -1px;
    }

    .bio {
        font-size: 0.82rem;
        max-width: 280px;
    }

    #work {
        padding: 40px 4%;
    }

    .project-grid {
        gap: 28px;
    }

    .project-card .project-info {
        flex-direction: column;
        gap: 6px;
    }

    .overlay {
        padding: 70px 4% 24px;
    }

    .overlay-title {
        font-size: clamp(1.8rem, 10vw, 3rem);
        margin-bottom: 20px;
    }

    /* Stack contact table vertically */
    .contact-table tr {
        display: flex;
        flex-direction: column;
        padding: 16px 0;
        gap: 6px;
    }

    .contact-table td {
        padding: 0;
    }

    .contact-table .label {
        width: 100%;
    }

    .contact-table .value {
        text-align: left;
    }

    .remark-card {
        padding: 20px 16px;
    }

    .remark-text {
        font-size: 0.8rem;
    }

    .blog-content p {
        font-size: 0.84rem;
    }
}

/* ── TINY MOBILE (max-width: 360px) ── */
@media (max-width: 360px) {
    .heading-1 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 0.72rem;
    }

    .overlay-title {
        font-size: 1.6rem;
    }

    .blog-title {
        font-size: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════
   LANDSCAPE MOBILE
══════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
    .c-heading {
        min-height: auto;
        padding: 30px 5%;
        height: auto;
    }

    .heading-1 {
        font-size: 2.5rem;
    }

    .scroll-indicator { display: none; }
}

/* ══════════════════════════════════════════════════
   SAFE AREA (notched phones)
══════════════════════════════════════════════════ */
@supports (padding: env(safe-area-inset-bottom)) {
    .overlay {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    .project-modal {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    nav {
        padding-left: max(5%, env(safe-area-inset-left));
        padding-right: max(5%, env(safe-area-inset-right));
    }
}

/* ══════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════════════════ */

@keyframes textReveal {
    to { transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ─────────────────────────────────────────────
   FOUNDER STRIP
───────────────────────────────────────────── */
.founder-strip {
    padding: 100px 40px;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
}
.founder-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}
.founder-left { flex: 1; }
.founder-name {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    margin: 8px 0 20px;
    letter-spacing: -0.02em;
    line-height: 1;
}
.founder-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    max-width: 520px;
}
.founder-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 54px;
}
.founder-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}
.founder-link:hover { opacity: 0.5; }

@media (max-width: 768px) {
    .founder-inner { flex-direction: column; gap: 30px; }
    .founder-right { padding-top: 0; flex-direction: row; }
    .founder-strip { padding: 60px 20px; }
}

/* ─────────────────────────────────────────────
   REVIEWS — LOADING & EMPTY STATES
───────────────────────────────────────────── */
.remarks-loading {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}
.loading-dot {
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
    animation: dotPulse 1.2s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}
.remarks-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────────
   REVIEW SUBMISSION FORM
───────────────────────────────────────────── */
.review-submit-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #e8e8e8;
}
.review-submit-header { margin-bottom: 30px; }
.review-submit-title {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.review-submit-sub {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.6;
}
.review-form { display: flex; flex-direction: column; gap: 16px; }
.review-form-row { display: flex; flex-direction: column; gap: 16px; }
.review-form-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .review-form-two-col { grid-template-columns: 1fr; }
}
