/* ============================================================
   MANISH MANDIA — PORTFOLIYO 3.0
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
    --white: #fff;
    --black: #000;
    --gray-100: #f5f5f5;
    --gray-200: #ececec;
    --gray-400: #c4c4c4;
    --gray-700: #848484;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-smooth: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-power: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 62.5%;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: auto;
    scrollbar-gutter: stable;
}

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

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ---- KEYFRAMES ---- */
@keyframes slideInUp {
    from { transform: translateY(103%); }
    to   { transform: translateY(0); }
}
@keyframes slideOut {
    from { transform: translateY(0); }
    to   { transform: translateY(-104%); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
@keyframes loaderProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes heroScroll {
    0%, 100% { transform: scaleY(0); transform-origin: top; }
    50%       { transform: scaleY(1); transform-origin: top; }
    51%       { transform-origin: bottom; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(255,255,255,0.4), 0 0 0 4px rgba(255,255,255,0.1); }
    50%       { box-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 0 6px rgba(255,255,255,0.2); }
}

/* ---- TYPOGRAPHY SCALE ---- */
.tx-3xl {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 6.2rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.tx-2xl {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 4.8rem;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.tx-xl {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 3.4rem;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.tx-lg {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.tx-lsm {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.section-label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-700);
}

/* ---- GRID ---- */
.row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 0 1.5rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}
.row > * { grid-column: auto / span var(--col, 24); }
.col-24 { --col: 24; }

/* ---- LINE REVEAL ---- */
.u-lineWrapper { display: flex; overflow: hidden; }
.u-line {
    display: inline-flex;
    transform: translateY(110%);
    transition: transform 1.3s var(--ease-smooth);
}
.o-hero_footer .u-line {
    transform: translateY(0);
}

/* ---- LOADING STATE ---- */
.is-loading { cursor: wait; pointer-events: none; }
.is-loading body { overflow: hidden; }

/* ============================================================
   LOADER
   ============================================================ */
.o-loader {
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%; height: 100%;
    background: var(--black);
    color: var(--white);
}
.o-loader p {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 0.85;
    letter-spacing: 0.05em;
    display: flex;
}
.o-loader_letterWrapper { display: inline-flex; overflow: hidden; }
.o-loader_letter {
    display: inline-block;
    transform: translateY(100%);
    animation: slideInUp 0.8s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}
.o-loader_letterWrapper:nth-child(1) .o-loader_letter { --d: 0.10s; }
.o-loader_letterWrapper:nth-child(2) .o-loader_letter { --d: 0.15s; }
.o-loader_letterWrapper:nth-child(3) .o-loader_letter { --d: 0.20s; }
.o-loader_letterWrapper:nth-child(4) .o-loader_letter { --d: 0.25s; }
.o-loader_letterWrapper:nth-child(5) .o-loader_letter { --d: 0.30s; }
.o-loader_letterWrapper:nth-child(6) .o-loader_letter { --d: 0.35s; }
.o-loader_progress {
    width: 120px; height: 2px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px; overflow: hidden;
}
.o-loader_bar {
    width: 100%; height: 100%;
    background: var(--white);
    transform: scaleX(0); transform-origin: left;
    animation: loaderProgress 1.8s var(--ease-out) 0.4s forwards;
}
.o-loader.-hidden {
    opacity: 0; pointer-events: none;
    transition: opacity 0.6s var(--ease-out);
}

/* ============================================================
   HEADER
   ============================================================ */
.o-header {
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    color: var(--white);
    mix-blend-mode: difference;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.3);
    transition: transform 0.8s var(--ease-smooth);
}
.o-header.-hidden { transform: translateY(-100%); }

.o-header_logo {
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 0.85;
    letter-spacing: 0.04em;
}
.o-header_letterWrapper { display: inline-flex; overflow: hidden; }
.o-header_letterWrapper span {
    display: inline-flex;
    transform: translateY(103%);
    animation: slideInUp 1s var(--ease-out) forwards;
    animation-delay: var(--delay, 0s);
}
.o-header_nav ul { display: flex; gap: 3rem; }
.o-header_nav a {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    transition: opacity 0.4s var(--ease-out);
    position: relative;
}
.o-header_nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: currentColor;
    transition: width 0.6s var(--ease-out);
}
.o-header_nav a:hover { opacity: 1; }
.o-header_nav a:hover::after { width: 100%; }

/* ============================================================
   HERO — Cursor Reveal + Text Pressure
   ============================================================ */
.o-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    padding: 3rem 3rem 2rem 3rem;
}

/* --- Dual-layer background for cursor reveal --- */
.o-hero_bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    margin: 0;
}
.o-hero_bg_base,
.o-hero_bg_reveal {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}
.o-hero_bg_base img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transform: scale(1.1);
    transition: transform 8s var(--ease-smooth), opacity 2s var(--ease-out);
    will-change: transform;
}
.is-loaded .o-hero_bg_base img { transform: scale(1.05); opacity: 0.5; }

.o-hero_bg_reveal {
    z-index: 1;
    clip-path: circle(0px at 50% 50%);
    pointer-events: none;
    will-change: clip-path;
}
.o-hero_bg_reveal img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: contrast(1.05) saturate(1.1);
}

/* --- Content --- */
.o-hero_content {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    padding-top: 0;
}

/* --- Text Pressure title --- */
.o-hero_title {
    font-family: var(--font-display);
    font-size: min(10vw, 14rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}
.o-hero_line { display: block; overflow: hidden; }
.o-hero_line_inner {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1.3s var(--ease-smooth);
}
.is-loaded .o-hero_line_inner { transform: translateY(0); }
.o-hero_line:nth-child(2) .o-hero_line_inner { transition-delay: 0.12s; }

/* Individual chars for text-pressure effect */
.o-hero_char {
    display: inline-block;
    transition: font-weight 0.1s ease, transform 0.1s ease;
    transform-origin: bottom center;
    will-change: font-weight, transform;
}

.o-hero_subtitle {
    margin-top: 2rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    opacity: 0.8;
}
.o-hero_subtitle .u-line { transform: translateY(0); }

.o-hero_footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.o-hero_footer .u-line { transform: translateY(0); }

.o-hero_footerCenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.o-hero_footerRight { display: flex; }
.o-hero_scrollLine {
    width: 1px; height: 50px;
    background: var(--white);
    transform: scaleY(0); transform-origin: top;
    animation: heroScroll 2.5s var(--ease-smooth) infinite 1.5s;
}

/* ============================================================
   BIG WORDS MARQUEE
   ============================================================ */
.o-bigWords {
    padding: 4rem 0;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.o-bigWords_row {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: clamp(5rem, 10vw, 12rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    animation: marquee 20s linear infinite;
    will-change: transform;
}
.o-bigWords_row span { opacity: 0.15; flex-shrink: 0; transition: opacity 0.4s var(--ease-out); }
.o-bigWords:hover .o-bigWords_row span { opacity: 0.08; }
.o-bigWords:hover .o-bigWords_row span:hover { opacity: 1; }

/* ============================================================
   ABOUT
   ============================================================ */
.o-about { padding: 12rem 0 8rem; background: var(--white); }
.o-about_label { margin-bottom: 2rem; }
.o-about .tx-xl { font-size: clamp(3.6rem, 5vw, 7.2rem); max-width: 90%; }
.o-about_body { margin-top: 6rem; }
.o-about_text p { font-size: 1.6rem; line-height: 1.7; color: var(--gray-700); margin-bottom: 1.5rem; }
.o-about_stats { display: flex; flex-direction: column; gap: 0; }
.o-about_stat {
    display: flex; align-items: baseline; gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.6s var(--ease-out);
}
.o-about_stat:first-child { border-top: 1px solid var(--gray-200); }
.o-about_stat:hover { padding-left: 1.5rem; }
.o-about_statNumber {
    font-family: var(--font-display);
    font-size: 5rem; line-height: 0.85;
    letter-spacing: -0.02em; min-width: 10rem;
}
.o-about_statLabel { font-size: 1.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-700); }

/* ============================================================
   EXPERTISE
   ============================================================ */
.o-expertise { padding: 10rem 0; background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.o-expertise_label { margin-bottom: 4rem; }
.o-expertise_label .section-label { color: var(--gray-400); }
.o-expertise_list { display: flex; flex-direction: column; }
.o-expertise_item {
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 3rem;
    transition: all 0.6s var(--ease-out);
    opacity: 0.5;
}
.o-expertise_item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.o-expertise_item:hover { opacity: 1; padding-left: 2rem; }
.o-expertise_itemTitle { flex-shrink: 0; }
.o-expertise_itemDesc {
    font-size: 1.3rem; color: var(--gray-400);
    text-align: right; max-width: 40rem;
    letter-spacing: 0.02em;
    opacity: 0; transform: translateX(2rem);
    transition: all 0.6s var(--ease-out);
}
.o-expertise_item:hover .o-expertise_itemDesc { opacity: 1; transform: translateX(0); }

/* Expertise background photos */
.o-expertise_photos {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
.o-expertise_photo {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    margin: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s var(--ease-out);
}
.o-expertise_photo.-active { clip-path: inset(0 0 0 0); }
.o-expertise_photo img {
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.35;
    transform: scale(1.05);
    transition: transform 1.5s var(--ease-smooth), opacity 0.6s var(--ease-out);
    filter: grayscale(30%);
}
.o-expertise_photo.-active img { transform: scale(1); opacity: 0.3; }
.o-expertise .row { position: relative; z-index: 2; }

/* ============================================================
   JOURNEY — Premium Timeline
   ============================================================ */
.o-journey {
    padding: 12rem 0 10rem;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.o-journey_label { margin-bottom: 2rem; }
.o-journey_label .section-label { color: var(--gray-400); }
.o-journey .tx-xl { font-size: clamp(3.6rem, 5vw, 7.2rem); }

/* Timeline layout */
.o-timeline {
    position: relative;
    max-width: 1000px;
    margin: 6rem auto 0;
    padding: 0 3rem;
}

/* Vertical connecting line */
.o-timeline_line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.07);
    transform: translateX(-50%);
}
.o-timeline_line_fill {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0.3) 100%);
    transform: scaleY(0);
    transform-origin: top;
}

/* Items container */
.o-timeline_items {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding: 4rem 0;
}

/* Each item: two-column, alternating sides */
.o-timeline_item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    align-items: center;
}

/* Dot in the center column */
.o-timeline_dot {
    position: relative;
    width: 14px; height: 14px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto;
    transform: scale(0);
    transition: transform 0.6s var(--ease-out) 0.15s,
                box-shadow 0.6s var(--ease-out) 0.15s;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
    z-index: 2;
}
.o-timeline_item.is-inview .o-timeline_dot {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 0 6px rgba(255,255,255,0.12);
    animation: pulseGlow 2.5s ease-in-out infinite 0.8s;
}

/* Year — left column for odd items */
.o-timeline_year {
    font-family: var(--font-display);
    font-size: 7rem;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.06);
    text-align: right;
    padding-right: 3rem;
    opacity: 0;
    transform: translateX(-3rem);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.o-timeline_item.is-inview .o-timeline_year { opacity: 1; transform: translateX(0); }

/* Card — right column for odd items */
.o-timeline_card {
    padding-left: 3rem;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.9s var(--ease-out) 0.1s, transform 0.9s var(--ease-out) 0.1s;
}
.o-timeline_item.is-inview .o-timeline_card { opacity: 1; transform: translateY(0); }

/* Flip even items: card on left, year on right */
.o-timeline_item:nth-child(even) {
    direction: rtl;
}
.o-timeline_item:nth-child(even) > * { direction: ltr; }
.o-timeline_item:nth-child(even) .o-timeline_year {
    text-align: left;
    padding-right: 0; padding-left: 3rem;
    transform: translateX(3rem);
}
.o-timeline_item:nth-child(even).is-inview .o-timeline_year { transform: translateX(0); }
.o-timeline_item:nth-child(even) .o-timeline_card { padding-left: 0; padding-right: 3rem; }

/* Card inner styling */
.o-timeline_card_inner {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.6rem;
    padding: 3rem;
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
                transform 0.4s var(--ease-out);
}
.o-timeline_card_inner:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}
.o-timeline_card_role {
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.6rem;
}
.o-timeline_card_company {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.5rem;
}
.o-timeline_card_desc {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}

/* ============================================================
   WORKS
   ============================================================ */
.o-works { padding: 10rem 0 6rem; background: var(--black); color: var(--white); }
.o-works_label { margin-bottom: 2rem; }
.o-works_label .section-label { color: var(--gray-400); }
.o-works_heading { margin-bottom: 6rem; }
.o-works .tx-xl { font-size: clamp(3.6rem, 5vw, 7.2rem); }
.o-works_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}
.o-works_card {
    position: relative;
    display: flex; flex-direction: column;
    overflow: hidden; border-radius: 1rem;
    transition: transform 0.8s var(--ease-out);
}
.o-works_card:nth-child(2) { margin-top: 8rem; }
.o-works_cardImage {
    position: relative; overflow: hidden;
    border-radius: 1rem; aspect-ratio: 3/4; margin: 0;
    clip-path: inset(100% 0 0 0 round 1rem);
    transition: clip-path 1.3s var(--ease-smooth);
}
.o-works_card.is-inview .o-works_cardImage { clip-path: inset(0 0 0 0 round 1rem); }
.o-works_cardImage img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--ease-smooth);
    transform: scale(1.15);
}
.o-works_card:hover .o-works_cardImage img { transform: scale(1); }
.o-works_cardInfo { padding: 2rem 0.5rem; }
.o-works_cardTitle { margin-bottom: 0.5rem; }
.o-works_cardDesc { font-size: 1.3rem; color: var(--gray-400); margin-bottom: 1.5rem; line-height: 1.5; }
.o-works_cardTags { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.o-works_cardTags span {
    font-size: 1.1rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4rem; color: var(--gray-400);
}
.o-works_cardArrow {
    position: absolute; top: 2rem; right: 2rem;
    width: 4rem; height: 4rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); color: var(--black); border-radius: 50%;
    opacity: 0; transform: scale(0.5);
    transition: all 0.6s var(--ease-out); z-index: 2;
}
.o-works_cardArrow svg { width: 1.2rem; height: 1.2rem; }
.o-works_card:hover .o-works_cardArrow { opacity: 1; transform: scale(1); }

/* ============================================================
   CONTACT
   ============================================================ */
.o-contact { padding: 12rem 0; background: var(--white); }
.o-contact_label { margin-bottom: 2rem; }
.o-contact_heading { margin-bottom: 6rem; }
.o-contact .tx-3xl { font-size: clamp(5rem, 10vw, 14rem); }
.o-contact_text p { font-size: 1.6rem; line-height: 1.8; color: var(--gray-700); }
.o-contact_links { display: flex; flex-direction: column; }
.o-contact_link {
    display: flex; align-items: center; gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.6s var(--ease-out);
    position: relative;
}
.o-contact_link:first-child { border-top: 1px solid var(--gray-200); }
.o-contact_link:hover { padding-left: 2rem; }
.o-contact_linkLabel {
    font-size: 1.1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gray-700); min-width: 8rem;
}
.o-contact_linkValue {
    font-family: var(--font-display);
    font-size: 2.4rem; text-transform: uppercase; letter-spacing: -0.01em;
}
.o-contact_linkArrow {
    margin-left: auto; width: 1.2rem; height: 1.2rem;
    opacity: 0; transform: translate(-0.5rem, 0.5rem);
    transition: all 0.6s var(--ease-out);
}
.o-contact_link:hover .o-contact_linkArrow { opacity: 1; transform: translate(0, 0); }

/* ============================================================
   FOOTER
   ============================================================ */
.o-footer_placeholder { width: 100%; height: var(--footer-height, 60vh); pointer-events: none; }
.o-footer {
    position: fixed; right: 0; bottom: 0; left: 0;
    z-index: 1; overflow: hidden;
    background: var(--black); color: var(--white);
    padding-top: 3rem;
}
.m-marquee {
    display: flex; overflow: hidden;
    width: 100%; white-space: nowrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.m-marquee_viewport {
    display: flex;
    animation: marquee 25s linear infinite;
    will-change: transform;
}
.m-marquee_item {
    display: inline-flex; flex-shrink: 0;
    gap: 0.8rem; align-items: center; margin-right: 2rem;
}
.m-marquee .tx-2xl { font-size: 4rem; }
.m-marquee .tx-lsm { color: var(--gray-700); }
.o-footer_info {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 3rem; gap: 3rem; position: relative; z-index: 2;
}
.o-footer_contact { display: flex; flex-direction: column; gap: 0.5rem; }
.o-footer_contact a { font-size: 1.8rem; font-weight: 700; transition: opacity 0.3s; }
.o-footer_contact a:hover { opacity: 0.6; }
.o-footer_contact p { font-size: 1.2rem; color: var(--gray-700); }
.o-footer_socials { display: flex; gap: 2.5rem; }
.o-footer_socialLink {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1.2rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    transition: opacity 0.4s var(--ease-out);
}
.o-footer_socialLink:hover { opacity: 0.5; }
.o-footer_socialLink svg { width: 0.8rem; height: 0.8rem; }
.o-footer_logo {
    display: flex; justify-content: center;
    position: relative; z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(8rem, 13vw, 20rem);
    line-height: 0.82; text-align: center;
    padding: 2rem 3rem 0;
    transform: translateY(15%);
    letter-spacing: 0.01em;
}
.o-footer_logoLetter {
    display: inline-block; overflow: hidden; opacity: 0.3;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.o-footer:hover .o-footer_logoLetter { opacity: 0.7; }
.o-footer_cover {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; z-index: 0; margin: 0;
}
.o-footer_cover img {
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.15; filter: grayscale(100%);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-smooth);
}
[data-scroll-reveal].is-inview { opacity: 1; transform: translateY(0); }
[data-scroll-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-scroll-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-scroll-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — DESKTOP (≥ 961px)
   ============================================================ */
@media (min-width: 961px) {
    .row { gap: 0 2rem; padding: 0 3rem; }
    .tx-3xl { font-size: min(12vw, 16rem); }
    .tx-2xl { font-size: 8rem; }
    .tx-xl  { font-size: 7.2rem; }
    .tx-lg  { font-size: 3rem; }
    .lg-col-4  { --col: 4; }
    .lg-col-8  { --col: 8; }
    .lg-col-14 { --col: 14; }
    .lg-col-18 { --col: 18; }
    .lg-col-19 { --col: 19; }
    .lg-off-2  { grid-column-start: 3; }
    .lg-off-4  { grid-column-start: 5; }
    .o-header { padding: 3rem; }
    .o-hero   { padding: 3rem; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
    .o-hero_title { font-size: clamp(5rem, 10vw, 10rem); }
    .o-about_body, .o-contact_body { gap: 4rem 0; }
    .o-works_grid { grid-template-columns: repeat(2, 1fr); }
    .o-works_card:nth-child(2) { margin-top: 4rem; }
    .o-expertise_item { flex-direction: column; gap: 0.5rem; }
    .o-expertise_itemDesc { text-align: left; opacity: 1; transform: none; }
    /* Timeline: collapse to single column */
    .o-timeline { max-width: 100%; }
    .o-timeline_line { left: 3rem; }
    .o-timeline_item {
        grid-template-columns: 3.5rem 1fr;
        gap: 0 2rem;
    }
    .o-timeline_item:nth-child(even) { direction: ltr; }
    .o-timeline_dot { margin: 0; grid-column: 1; grid-row: 1; }
    .o-timeline_year {
        grid-column: 2; grid-row: 1;
        text-align: left; padding: 0 0 0.5rem 0;
        font-size: 4rem;
        transform: translateX(-2rem);
    }
    .o-timeline_item:nth-child(even) .o-timeline_year {
        text-align: left; padding: 0 0 0.5rem 0;
        transform: translateX(-2rem);
    }
    .o-timeline_card { grid-column: 2; padding: 0; }
    .o-timeline_item:nth-child(even) .o-timeline_card { padding: 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
    .row { padding: 0 1.5rem; }
    .o-header { padding: 1.5rem; }
    .o-header_nav ul { gap: 1.5rem; }
    .o-header_nav a { font-size: 1.1rem; }
    .o-hero { padding: 1.5rem; }
    .o-hero_title { font-size: clamp(4.5rem, 14vw, 7rem); }
    .o-hero_footer { flex-direction: column; gap: 2rem; align-items: flex-start; }
    .o-hero_footerCenter { display: none; }
    .o-about, .o-contact, .o-journey { padding: 6rem 0; }
    .o-expertise, .o-works { padding: 6rem 0; }
    .o-works_grid { grid-template-columns: 1fr; padding: 0 1.5rem; }
    .o-works_card:nth-child(2) { margin-top: 0; }
    .o-contact .tx-3xl { font-size: clamp(4rem, 14vw, 8rem); }
    .o-contact_link { flex-wrap: wrap; }
    .o-contact_linkValue { font-size: 1.8rem; }
    .o-footer_info { flex-direction: column; padding: 2rem 1.5rem; }
    .o-footer_logo { font-size: clamp(5rem, 16vw, 10rem); }
    .o-loader p { font-size: 5rem; }
    .o-timeline { padding: 0 1.5rem; }
    .o-timeline_line { left: 1.5rem; }
    .o-timeline_card_inner { padding: 2rem; }
    .o-timeline_card_role { font-size: 2.2rem; }
}

/* ============================================================
   HOVER EFFECTS (pointer devices only)
   ============================================================ */
@media (hover: hover) and (any-pointer: fine) {
    .o-works_card:hover { transform: translateY(-1rem); }
}

/* ============================================================
   NOOMO-STYLE HERO TITLE — Outfit 900, full-width spread
   ============================================================ */
.o-hero_title {
    font-family: 'Outfit', var(--font-display), sans-serif;
    font-weight: 900;
    font-size: clamp(4.2rem, 9.1vw, 15.4rem);
    line-height: 0.86;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0;
    width: 100%;
}
.o-hero_title-line {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    width: 100%;
    gap: 2rem;
}
.o-hero_title-line.-single { justify-content: flex-start; }

/* Each word clips individually for the slide-up reveal */
.o-hero_line {
    display: inline-block;
    overflow: hidden;
    line-height: 0.92;
}
.o-hero_line_inner {
    display: inline-block;
    transform: translateY(108%);
    transition: transform 1.2s var(--ease-smooth);
}
.is-loaded .o-hero_line_inner { transform: translateY(0); }

/* Stagger per word */
.o-hero_title-line:nth-child(1) .o-hero_line:nth-child(1) .o-hero_line_inner { transition-delay: 0.00s; }
.o-hero_title-line:nth-child(1) .o-hero_line:nth-child(2) .o-hero_line_inner { transition-delay: 0.07s; }
.o-hero_title-line:nth-child(2) .o-hero_line:nth-child(1) .o-hero_line_inner { transition-delay: 0.14s; }
.o-hero_title-line:nth-child(2) .o-hero_line:nth-child(2) .o-hero_line_inner { transition-delay: 0.21s; }
.o-hero_title-line:nth-child(3) .o-hero_line .o-hero_line_inner             { transition-delay: 0.29s; }

/* ============================================================
   GLASS ORBS — atmospheric colour blobs in hero
   ============================================================ */
@keyframes floatOrb {
    0%,  100% { transform: translateY(0px)   translateX(0px)   scale(1);    }
    33%        { transform: translateY(-28px) translateX(14px)  scale(1.04); }
    66%        { transform: translateY(14px)  translateX(-10px) scale(0.97); }
}
.o-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}
.o-orb--1 {
    width: 520px; height: 520px;
    top: 50%; left: 42%;
    transform: translate(-50%, -55%);
    background: radial-gradient(ellipse at 35% 35%,
        rgba(130, 90, 255, 0.26) 0%,
        rgba(70, 110, 255, 0.13) 45%,
        transparent 70%);
    filter: blur(90px);
    animation: floatOrb 9s ease-in-out infinite;
}
.o-orb--2 {
    width: 360px; height: 360px;
    top: 20%; right: 15%;
    background: radial-gradient(ellipse at 40% 40%,
        rgba(255, 80, 110, 0.22) 0%,
        rgba(255, 130, 70, 0.11) 45%,
        transparent 70%);
    filter: blur(70px);
    animation: floatOrb 11s ease-in-out infinite 2.5s reverse;
}
.o-orb--3 {
    width: 290px; height: 290px;
    bottom: 18%; left: 22%;
    background: radial-gradient(ellipse at 50% 35%,
        rgba(50, 190, 255, 0.22) 0%,
        rgba(70, 130, 220, 0.11) 45%,
        transparent 70%);
    filter: blur(60px);
    animation: floatOrb 13s ease-in-out infinite 5s;
}

/* ============================================================
   FILM GRAIN — animated SVG noise overlay
   ============================================================ */
.c-grain {
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    pointer-events: none;
    z-index: 9996;
    opacity: 0.038;
    animation: grainShift 0.16s steps(1) infinite;
}
@keyframes grainShift {
    0%   { transform: translate(0%,    0%  ); }
    10%  { transform: translate(-4%,  -8%  ); }
    20%  { transform: translate(-13%,  4%  ); }
    30%  { transform: translate( 6%,  -22% ); }
    40%  { transform: translate(-4%,   22% ); }
    50%  { transform: translate(-13%,  8%  ); }
    60%  { transform: translate( 13%,  0%  ); }
    70%  { transform: translate( 0%,   13% ); }
    80%  { transform: translate( 2%,   30% ); }
    90%  { transform: translate(-8%,   8%  ); }
    100% { transform: translate( 0%,   0%  ); }
}
