/* ============================================
   FREZYMO PRODUCT LABS — Monochrome B&W

   Fresh, award-level design system:
   - Alternating black/white sections
   - Stacking card scroll
   - Animated gradient mesh
   - Scroll progress bar
   - Text scramble nav
   - Scroll-velocity marquee
   - Back-to-top with progress ring
   - Oversized monochrome typography
   ============================================ */

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

:root {
    --black:  #0a0a0a;
    --dark:   #141414;
    --dark-2: #1c1c1c;
    --dark-3: #252525;
    --white:  #fafaf8;
    --off:    #f2f1ef;
    --gray-1: #e8e7e4;
    --gray-2: #c8c7c4;
    --gray-3: #999;
    --gray-4: #666;
    --gray-5: #444;
    --border-l: rgba(0,0,0,0.08);
    --border-d: rgba(255,255,255,0.1);
    --font:    'Inter', -apple-system, sans-serif;
    --display: 'Syne', 'Inter', sans-serif;
    --mono:    'Space Mono', monospace;
    --ease:    cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

::selection { background: rgba(0,0,0,0.1); color: var(--black); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: none; }
input, textarea, select { font-family: var(--font); cursor: none; }

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--black);
    z-index: 9999;
    transition: width 0.05s linear;
    pointer-events: none;
}

/* ---------- GRAIN ---------- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 8000;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ---------- CURSOR ---------- */
.cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 9990;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: -4px; left: -4px;
}

.cursor-circle {
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    position: absolute;
    top: -22px; left: -22px;
    transition: width 0.45s var(--ease), height 0.45s var(--ease),
                top 0.45s var(--ease), left 0.45s var(--ease),
                background 0.3s ease;
}

.cursor.hover .cursor-circle {
    width: 72px; height: 72px;
    top: -36px; left: -36px;
    background: rgba(255,255,255,0.05);
}

.cursor.view .cursor-circle {
    width: 110px; height: 110px;
    top: -55px; left: -55px;
    background: rgba(255,255,255,0.06);
}

.cursor-text {
    position: absolute;
    top: -6px; left: 16px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor.view .cursor-text {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed; inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: opacity 0.5s ease 0.4s, visibility 0.5s ease 0.4s;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-count {
    font-family: var(--display);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.preloader-line {
    width: 180px;
    height: 1px;
    background: var(--dark-3);
    overflow: hidden;
}

.preloader-fill {
    width: 0%; height: 100%;
    background: var(--white);
    transition: width 0.06s linear;
}

.preloader-label {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 5px;
    color: var(--gray-5);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 52px; height: 52px;
    background: var(--black);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: var(--white);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-3px); }

.btt-ring {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.btt-track {
    fill: none;
    stroke: var(--dark-3);
    stroke-width: 2;
}

.btt-progress {
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-dasharray: 289;
    stroke-dashoffset: 289;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}

.btt-arrow { position: relative; z-index: 1; }

/* ---------- LINE MASK REVEAL ---------- */
.line-mask {
    overflow: hidden;
    display: block;
}

.line-mask span,
span.reveal-up {
    display: inline-block;
    transform: translateY(115%);
    transition: transform 1s var(--ease);
}

.line-mask span.visible,
span.reveal-up.visible {
    transform: translateY(0);
}

/* ---------- SCROLL REVEAL ---------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- TAG ---------- */
.tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--gray-4);
    margin-bottom: 20px;
}

.tag-light { color: var(--gray-3); }

/* ---------- SECTION TITLE ---------- */
.sec-title {
    font-family: var(--display);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--black);
}

.sec-title-light { color: var(--white); }

/* ---------- SECTION BACKGROUNDS ---------- */
.section-light {
    background: var(--white);
    color: var(--black);
    padding: 140px 0;
}

.section-dark {
    background: var(--black);
    color: var(--white);
    padding: 140px 0;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 20px 0;
    transition: all 0.5s var(--ease);
}

.nav.scrolled {
    padding: 14px 0;
    background: rgba(250, 250, 248, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-l);
}

.nav.scrolled .nav-link,
.nav.scrolled .nav-clock { color: var(--gray-4); }
.nav.scrolled .nav-link:hover { color: var(--black); }

.nav.scrolled .logo-mark {
    border-color: var(--black);
    color: var(--black);
}

.nav.scrolled .logo-text {
    color: var(--black);
}

.nav.scrolled .menu-line { background: var(--black); }

.nav-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-mark {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--white);
    border-radius: 10px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--white);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-mark-light {
    border-color: var(--white);
    color: var(--white);
}

.nav-logo:hover .logo-mark {
    background: var(--white);
    color: var(--black);
}

.nav.scrolled .nav-logo:hover .logo-mark {
    background: var(--black);
    color: var(--white);
}

.logo-text {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-text small {
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.5;
    display: block;
}

.nav-center {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0%; height: 1px;
    background: currentColor;
    transition: width 0.4s var(--ease);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-clock {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    min-width: 70px;
    text-align: right;
}

.nav-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 10;
}

.menu-line {
    width: 26px; height: 1.5px;
    background: var(--white);
    transition: all 0.35s ease;
    transform-origin: center;
}

.nav-menu.active .menu-line:first-child { transform: rotate(45deg) translate(3px, 3px); }
.nav-menu.active .menu-line:last-child { transform: rotate(-45deg) translate(3px, -3px); }

/* ---------- MOBILE OVERLAY ---------- */
.mobile-overlay {
    position: fixed; inset: 0;
    z-index: 199;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.mobile-link {
    font-family: var(--display);
    font-size: clamp(2.5rem, 9vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    overflow: hidden;
    display: block;
}

.mobile-link span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.6s var(--ease);
}

.mobile-overlay.open .mobile-link:nth-child(1) span { transition-delay: 0.08s; transform: translateY(0); }
.mobile-overlay.open .mobile-link:nth-child(2) span { transition-delay: 0.14s; transform: translateY(0); }
.mobile-overlay.open .mobile-link:nth-child(3) span { transition-delay: 0.20s; transform: translateY(0); }
.mobile-overlay.open .mobile-link:nth-child(4) span { transition-delay: 0.26s; transform: translateY(0); }

.mobile-footer {
    display: flex;
    gap: 32px;
    font-size: 0.75rem;
    color: var(--gray-5);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding: clamp(100px, 15vh, 160px) clamp(24px, 4vw, 60px) clamp(60px, 8vh, 100px);
    position: relative;
    overflow: hidden;
}

/* Animated gradient mesh */
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255,255,255,0.04), transparent),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.03), transparent),
        radial-gradient(ellipse 50% 80% at 50% 50%, rgba(255,255,255,0.02), transparent);
    animation: meshMove 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.02); }
    66% { transform: translate(-10px, 20px) scale(0.98); }
    100% { transform: translate(15px, -10px) scale(1.01); }
}

.hero-inner {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    margin-bottom: 28px;
}

.hero-eyebrow span {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-5);
}

.hero-h1 {
    font-family: var(--display);
    font-size: clamp(3.2rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 56px;
}

.hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.hero-desc {
    max-width: 480px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-5);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.hero-cta svg {
    transition: transform 0.4s var(--ease);
}

.hero-cta:hover svg {
    transform: translate(3px, -3px);
}

/* ---------- MARQUEE ---------- */
.marquee {
    padding: 24px 0;
    overflow: hidden;
    position: relative;
}

.marquee-light {
    background: var(--white);
    border-top: 1px solid var(--border-l);
    border-bottom: 1px solid var(--border-l);
}

.marquee-dark {
    background: var(--black);
    border-top: 1px solid var(--border-d);
    border-bottom: 1px solid var(--border-d);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    padding-right: 40px;
    animation: mscroll 35s linear infinite;
    will-change: transform;
}

.marquee-reverse { animation-direction: reverse; }

@keyframes mscroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-inner span {
    font-family: var(--display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.marquee-light .marquee-inner span { color: var(--gray-3); }
.marquee-dark .marquee-inner span { color: var(--gray-5); }

.marquee-outline .marquee-inner span {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    -webkit-text-stroke: 1px var(--gray-5);
    color: transparent;
    letter-spacing: 6px;
}

.mdot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--black);
    flex-shrink: 0;
}

.mdot-dark { background: var(--gray-5); }

.marquee-big { padding: 48px 0; }

.marquee-big .marquee-inner span {
    font-size: clamp(1.5rem, 4vw, 3.2rem);
    letter-spacing: 6px;
}

.marquee-em {
    font-style: italic;
}

/* Scroll-velocity: controlled via JS */
.marquee-inner.fast { animation-duration: 15s; }
.marquee-inner.slow { animation-duration: 50s; }

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
}

.about-sticky {
    position: sticky;
    top: 140px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.about-item {
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border-l);
}

.about-item:last-child { border-bottom: none; padding-bottom: 0; }

.about-idx {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--gray-3);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 14px;
}

.about-item h3 {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-item p {
    font-size: 0.9rem;
    color: var(--gray-4);
    line-height: 1.8;
}

/* ---------- STACKING CARDS — WORK ---------- */
.work-header { margin-bottom: 64px; }

.stack-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stack-card {
    position: sticky;
    top: 100px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--dark);
    border: 1px solid var(--border-d);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.stack-card:nth-child(1) { top: 100px; z-index: 1; }
.stack-card:nth-child(2) { top: 112px; z-index: 2; }
.stack-card:nth-child(3) { top: 124px; z-index: 3; }
.stack-card:nth-child(4) { top: 136px; z-index: 4; }
.stack-card:nth-child(5) { top: 148px; z-index: 5; }
.stack-card:nth-child(6) { top: 160px; z-index: 6; }

.stack-card:hover {
    transform: scale(1.005);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.sc-inner {
    display: grid;
    grid-template-columns: 320px 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 48px;
    min-height: 260px;
}

.sc-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-icon-wrap {
    width: 140px; height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-d);
    border-radius: 24px;
    transition: border-color 0.3s ease, transform 0.5s var(--ease);
}

.stack-card:hover .sc-icon-wrap {
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.sc-cat {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-5);
    display: block;
    margin-bottom: 12px;
}

.sc-info h3 {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--white);
}

.sc-info p {
    font-size: 0.85rem;
    color: var(--gray-5);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 420px;
}

.sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sc-tags span {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border: 1px solid var(--border-d);
    border-radius: 100px;
    color: var(--gray-5);
}

.sc-num {
    font-family: var(--display);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    -webkit-text-stroke: 1px rgba(255,255,255,0.08);
    color: transparent;
    line-height: 1;
}

/* ---------- BENTO — SERVICES ---------- */
.services-header { margin-bottom: 64px; }

.bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.bento-card {
    background: var(--off);
    border: 1px solid var(--gray-1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
    border-color: var(--gray-2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.bento-wide {
    grid-column: span 2;
}

.bc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.bc-num {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--gray-3);
    letter-spacing: 2px;
}

.bento-card h3 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.bento-card p {
    font-size: 0.88rem;
    color: var(--gray-4);
    line-height: 1.8;
    margin-bottom: 24px;
}

.bc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bc-tags span {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border: 1px solid var(--gray-1);
    border-radius: 100px;
    color: var(--gray-4);
    transition: all 0.3s ease;
}

.bento-card:hover .bc-tags span {
    border-color: var(--gray-2);
    color: var(--black);
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat {
    text-align: center;
    padding: 48px 16px;
    background: var(--off);
    border: 1px solid var(--gray-1);
    border-radius: 20px;
    transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

.stat:hover {
    border-color: var(--gray-2);
    transform: translateY(-3px);
}

.stat-num {
    font-family: var(--display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--black);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--gray-3);
    letter-spacing: 0.5px;
}

/* ---------- PROCESS ---------- */
.process-header { margin-bottom: 72px; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-card {
    padding: 0 28px;
    border-left: 1px solid var(--border-d);
    position: relative;
}

.process-card:first-child { border-left: none; padding-left: 0; }

.pc-line {
    width: 100%; height: 2px;
    background: var(--dark-3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 32px;
}

.pc-fill {
    width: 0%; height: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: width 1s var(--ease);
}

.process-card.visible .pc-fill { width: 100%; }

.pc-num {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.process-card h3 {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.82rem;
    color: var(--gray-5);
    line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: start;
}

.contact-desc {
    font-size: 0.95rem;
    color: var(--gray-4);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.ci small {
    display: block;
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-3);
    margin-bottom: 4px;
}

.ci a, .ci span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--black);
    transition: opacity 0.3s ease;
}

.ci a:hover { opacity: 0.6; }

/* ---------- FAQ ---------- */
.faq-header { margin-bottom: 56px; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-top: 1px solid var(--border-l);
    overflow: hidden;
}

.faq-item:last-child { border-bottom: 1px solid var(--border-l); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    font-family: var(--display);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-family: var(--font);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gray-3);
    transition: transform 0.35s var(--ease), color 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--black);
}

.faq-item summary:hover { color: var(--gray-4); }

.faq-answer {
    padding: 0 0 28px;
    max-width: 720px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--gray-4);
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--black);
    font-weight: 600;
}

/* ---------- FORM ---------- */
.cform {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cfield {
    position: relative;
}

.cfield input,
.cfield textarea,
.cfield select {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-1);
    color: var(--black);
    font-size: 0.95rem;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    transition: border-color 0.3s ease;
}

.cfield select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.cfield select option { background: var(--white); color: var(--black); }

.cfield label {
    position: absolute;
    left: 0; top: 14px;
    font-size: 0.85rem;
    color: var(--gray-3);
    pointer-events: none;
    transition: all 0.3s var(--ease);
}

.cfield input:focus ~ label,
.cfield input:not(:placeholder-shown) ~ label,
.cfield textarea:focus ~ label,
.cfield textarea:not(:placeholder-shown) ~ label,
.cfield select:focus ~ label,
.cfield select:valid ~ label {
    top: -14px;
    font-size: 0.55rem;
    color: var(--black);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--mono);
}

.cline {
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 1.5px;
    background: var(--black);
    transition: width 0.5s var(--ease);
}

.cfield input:focus ~ .cline,
.cfield textarea:focus ~ .cline,
.cfield select:focus ~ .cline {
    width: 100%;
}

.send-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    border-top: 1px solid var(--gray-1);
    border-bottom: 1px solid var(--gray-1);
    color: var(--black);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--ease);
}

.send-btn:hover {
    padding-left: 16px;
    border-color: var(--black);
}

.send-btn svg {
    transition: transform 0.4s var(--ease);
}

.send-btn:hover svg { transform: translateX(6px); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-brand strong {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 0.75rem;
    color: var(--gray-5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-cols {
    display: flex;
    gap: clamp(32px, 5vw, 72px);
}

.fcol {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fcol h4 {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}

.fcol a {
    font-size: 0.78rem;
    color: var(--gray-5);
    transition: color 0.3s ease;
}

.fcol a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border-d);
    font-size: 0.65rem;
    color: var(--gray-5);
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .sc-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .sc-visual { justify-content: flex-start; }
    .sc-num { position: absolute; top: 32px; right: 32px; font-size: 3rem; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .process-card:nth-child(3) { border-left: none; padding-left: 0; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .cursor { display: none; }
    body, button, a, input, textarea, select { cursor: auto; }

    .nav-center { display: none; }
    .nav-clock { display: none; }
    .nav-menu { display: flex; }

    .hero {
        align-items: center;
        padding-top: 120px;
    }

    .hero-foot { flex-direction: column; align-items: flex-start; }

    .about-grid { grid-template-columns: 1fr; }
    .about-sticky { position: relative; top: auto; margin-bottom: 40px; }

    .stack-card {
        position: relative !important;
        top: auto !important;
    }

    .sc-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px;
    }

    .sc-num { display: none; }

    .bento { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }

    .stats-strip { grid-template-columns: repeat(2, 1fr); }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-card {
        border-left: none;
        padding-left: 0;
    }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

    .footer-top { flex-direction: column; }
    .footer-cols { flex-direction: column; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .section-light, .section-dark { padding: 100px 0; }
    .hero-h1 { font-size: clamp(2.4rem, 11vw, 3.5rem); }
    .bento-card { padding: 28px; }
    .stat { padding: 32px 16px; }
}
