/* ============================================
   XIAOCAO STUDIO — Cinematic dark portfolio
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #1a1a1a;
    --surface: #161616;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.15);
    --text: #f5f5f5;
    --text-2: #a0a0a0;
    --text-3: #666;
    --accent: #ff5b22;
    --accent-2: #ff8a5b;
    --warm: #ffb86b;
    --serif: 'Noto Serif TC', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

em {
    font-style: normal;
    color: var(--accent);
    font-weight: 500;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-text {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--text-2);
    margin-bottom: 16px;
}

.loader-bar {
    width: 200px;
    height: 1px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.loader-bar span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    animation: loadBar 1.4s var(--ease) forwards;
}

@keyframes loadBar {
    to { width: 100%; }
}

/* ============================================
   CURSOR
   ============================================ */
.cursor, .cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s var(--ease);
    mix-blend-mode: difference;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid var(--text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--accent);
}

@media (max-width: 900px) {
    .cursor, .cursor-follower { display: none; }
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 32px;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}

.nav.scrolled {
    padding: 14px 32px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--text);
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 13px;
    color: var(--text-2);
}

.nav-links a {
    position: relative;
    padding: 4px 0;
    transition: color 0.3s var(--ease);
}

.nav-links a::before {
    content: attr(data-num);
    font-family: var(--mono);
    font-size: 9px;
    color: var(--text-3);
    margin-right: 6px;
    vertical-align: 1px;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    letter-spacing: 0.05em;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-toggle span {
    width: 16px;
    height: 1px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
}

@media (max-width: 900px) {
    .nav-links, .nav-status { display: none; }
    .nav-toggle { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 32px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255, 91, 34, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(255, 184, 107, 0.08) 0%, transparent 60%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-2);
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
}

.tag-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(48px, 9vw, 140px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-1 {
    color: var(--text);
    animation: slideUp 0.8s 0.1s var(--ease-out) both;
}

.hero-title .line-2 {
    color: var(--text-2);
    animation: slideUp 0.8s 0.25s var(--ease-out) both;
}

@keyframes slideUp {
    from { transform: translateY(110%); }
    to { transform: translateY(0); }
}

.hero-sub {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 40px;
    animation: fadeIn 0.8s 0.5s var(--ease-out) both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: fadeIn 0.8s 0.65s var(--ease-out) both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: inherit;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-2);
}

.btn-ghost:hover {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 720px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    animation: fadeIn 0.8s 0.8s var(--ease-out) both;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-num {
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
}

.meta-num span {
    font-size: 14px;
    color: var(--text-3);
    margin-left: 2px;
}

.meta-label {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-3);
    z-index: 2;
    animation: fadeIn 0.8s 1s var(--ease-out) both;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--text-3), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-corner {
    position: absolute;
    top: 140px;
    right: 32px;
    z-index: 2;
    animation: fadeIn 0.8s 1.2s var(--ease-out) both;
}

.corner-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--line-2));
    margin: 0 auto 8px;
}

.corner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 0.1em;
}

.corner-text span:first-child {
    color: #ff4444;
}

@media (max-width: 768px) {
    .hero { padding: 120px 20px 60px; }
    .hero-corner, .hero-scroll { display: none; }
    .hero-meta { grid-template-columns: 1fr; gap: 20px; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; justify-content: center; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    background: var(--accent);
    color: var(--bg);
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    align-items: center;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track span {
    flex-shrink: 0;
}

.marquee-track .dot {
    opacity: 0.4;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 32px;
}

.section-head {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-num {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-num::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.section-sub {
    font-size: 17px;
    color: var(--text-2);
    max-width: 540px;
}

@media (max-width: 768px) {
    .section { padding: 80px 20px; }
    .section-head { margin-bottom: 50px; }
}

/* ============================================
   WORK
   ============================================ */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.work-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    position: relative;
}

.work-card:hover {
    border-color: var(--line-2);
    transform: translateY(-4px);
}

.work-card-wide {
    grid-column: span 2;
}

.work-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.work-card:not(.work-card-wide) .work-thumb {
    aspect-ratio: 4 / 3;
}

.work-thumb-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s var(--ease);
}

.work-card:hover .work-thumb-bg {
    transform: scale(1.05);
}

.work-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video mock for POV project */
.work-vid-mock {
    width: 65%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vid-frame {
    aspect-ratio: 9 / 16;
    background: #000;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.vid-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.3'/></svg>");
    opacity: 0.4;
}

.vid-timecode {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 6px;
    border-radius: 2px;
}

.vid-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
}

.vid-controls {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 4px;
}

.vid-controls span:first-child {
    color: var(--accent);
    font-size: 12px;
}

.work-play {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s var(--ease);
}

.work-card:hover .work-play {
    opacity: 1;
    transform: scale(1);
}

/* Script mock for UGC project */
.script-overlay {
    padding: 40px;
}

.script-mock {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
}

.script-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(255, 91, 34, 0.5);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.9);
    animation: typeIn 0.6s var(--ease-out) both;
}

.script-line:nth-child(1) { animation-delay: 0.1s; }
.script-line:nth-child(2) { animation-delay: 0.25s; }
.script-line:nth-child(3) { animation-delay: 0.4s; }
.script-line:nth-child(4) { animation-delay: 0.55s; }

@keyframes typeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.script-time {
    color: var(--accent);
    font-weight: 500;
    flex-shrink: 0;
}

.script-text {
    line-height: 1.5;
}

.script-line.typing .script-text {
    color: var(--accent);
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Screenshot mock for tooling project */
.screenshot-mock {
    width: 80%;
    max-width: 480px;
    background: #000;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    overflow: hidden;
    font-family: var(--mono);
    font-size: 11px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mock-titlebar {
    background: #1a1a1a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #222;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #28c840; }

.mock-title {
    margin-left: 8px;
    color: var(--text-2);
    font-size: 10px;
}

.mock-body {
    padding: 16px;
    color: var(--text-2);
}

.mock-row {
    padding: 3px 0;
    color: rgba(255, 255, 255, 0.7);
}

.mock-row.highlight {
    color: var(--accent);
}

.mock-row.highlight span {
    margin-left: 8px;
    color: var(--warm);
    font-size: 9px;
    background: rgba(255, 184, 107, 0.15);
    padding: 1px 4px;
    border-radius: 2px;
}

/* Hooks grid */
.hooks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 80%;
    max-width: 500px;
}

.hook-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 14px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s var(--ease);
}

.hook-card:hover {
    background: rgba(255, 91, 34, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hook-num {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 0.1em;
}

/* Work info */
.work-info {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-3);
}

.work-cat {
    color: var(--accent);
}

.work-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.work-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
    max-width: 580px;
}

.work-stats {
    display: flex;
    gap: 32px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 8px 0;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
}

.work-stats > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.work-stats span {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

.work-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.work-tags span {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-2);
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-card-wide { grid-column: span 1; }
    .work-thumb { aspect-ratio: 16/10; }
    .hooks-grid { grid-template-columns: 1fr; }
    .work-stats { flex-wrap: wrap; gap: 16px 24px; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-2);
    max-width: none;
    padding: 140px 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 80px;
}

.about-main p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 24px;
}

.about-lead {
    font-family: var(--serif) !important;
    font-size: 32px !important;
    line-height: 1.4 !important;
    color: var(--text) !important;
    font-weight: 700;
    margin-bottom: 40px !important;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px;
}

.card-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-card li {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-lead { font-size: 24px !important; }
    .about-main p { font-size: 16px; }
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 32px 32px;
    position: relative;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card:hover {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(255, 91, 34, 0.04), transparent 50%);
    transform: translateY(-4px);
}

.service-num {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent);
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.service-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-2);
}

.service-includes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
}

.service-includes span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    letter-spacing: 0.02em;
}

.service-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 4px 10px;
    background: rgba(255, 91, 34, 0.12);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    border-radius: 100px;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROCESS
   ============================================ */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    align-items: start;
    transition: all 0.4s var(--ease);
}

.process-step:last-child {
    border-bottom: 1px solid var(--line);
}

.process-step:hover {
    padding-left: 16px;
}

.step-num {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.1em;
    padding-top: 4px;
}

.step-body h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 700px;
}

@media (max-width: 768px) {
    .process-step { grid-template-columns: 1fr; gap: 12px; }
    .step-body h3 { font-size: 22px; }
}

/* ============================================
   NUMBERS
   ============================================ */
.numbers {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 100px 32px;
}

.numbers-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.num-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.num-big {
    font-family: var(--serif);
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text);
    display: inline;
}

.num-suffix {
    display: inline;
    font-family: var(--mono);
    font-size: 18px;
    color: var(--accent);
    margin-left: 4px;
    font-weight: 500;
}

.num-label {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.05em;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .numbers-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    position: relative;
    max-width: none;
    padding: 140px 32px;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255, 91, 34, 0.1) 0%, transparent 60%);
}

.contact-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.contact-lead {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.4;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: clamp(20px, 2.5vw, 32px);
    color: var(--accent);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--accent);
    margin-bottom: 40px;
    transition: all 0.3s var(--ease);
}

.contact-email:hover {
    gap: 20px;
    color: var(--accent-2);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.3s var(--ease);
}

.contact-link:hover {
    border-color: var(--accent);
    background: rgba(255, 91, 34, 0.04);
}

.link-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.15em;
}

.link-handle {
    font-size: 15px;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-3);
}

.form-row input,
.form-row textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s var(--ease);
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-status {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    min-height: 18px;
    text-align: center;
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--line);
    padding: 60px 32px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-big {
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--text);
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-big span:nth-child(1),
.footer-big span:nth-child(3) {
    color: var(--accent);
    font-size: 0.5em;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-meta { flex-direction: column; gap: 8px; align-items: center; text-align: center; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
