/* ============================================
   BITCHEN — Agence web
   ============================================ */

:root {
    --bg: #0a0a0a;
    --bg-soft: #131313;
    --bg-card: #181818;
    --fg: #f4f1ea;
    --fg-dim: #8a8a8a;
    --fg-muted: #5a5a5a;
    --accent: #c8ff00;
    --accent-warm: #ff5e2b;
    --line: #232323;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Space Grotesk', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    cursor: none;
}

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

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

/* === BOOT LOADER === */
.boot {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}

.boot.done {
    transform: translateY(-100%);
}

.boot.gone {
    display: none;
}

.boot-inner {
    text-align: center;
    width: min(640px, 80vw);
    position: relative;
    z-index: 2;
}

.boot-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 12px 0;
}

.boot-counter {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}

.boot-word {
    font-size: clamp(56px, 12vw, 140px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 28px 0;
    display: flex;
    justify-content: center;
}

.boot-word span {
    display: inline-block;
    opacity: 0;
    transform: translateY(60%);
    animation: bootChar 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.boot-word span:nth-child(1) { animation-delay: 0.05s; }
.boot-word span:nth-child(2) { animation-delay: 0.12s; }
.boot-word span:nth-child(3) { animation-delay: 0.19s; }
.boot-word span:nth-child(4) { animation-delay: 0.26s; }
.boot-word span:nth-child(5) { animation-delay: 0.33s; }
.boot-word span:nth-child(6) { animation-delay: 0.40s; }
.boot-word span:nth-child(7) { animation-delay: 0.47s; }

@keyframes bootChar {
    to { opacity: 1; transform: translateY(0); }
}

.boot-bar {
    display: inline-block;
    width: 180px;
    height: 1px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.boot-bar-fill {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform-origin: left;
    transform: scaleX(0);
}

.boot-curtain {
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform-origin: top;
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 1;
}

/* === GRAIN OVERLAY === */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}

/* === CUSTOM CURSOR === */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(244, 241, 234, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover {
    width: 0;
    height: 0;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(200, 255, 0, 0.08);
}

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

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.6);
    border-bottom: 1px solid var(--line);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.logo-mark {
    color: var(--accent);
    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text sup {
    font-size: 10px;
    color: var(--fg-dim);
    margin-left: 2px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    color: var(--fg-dim);
    position: relative;
    transition: color 0.3s;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.nav-links a:hover::before {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 255, 0, 0.25);
}

@media (max-width: 800px) {
    .nav { padding: 18px 20px; }
    .nav-links { display: none; }
}

/* === NAV TIME === */
.nav-time {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding-left: 24px;
    margin-left: 12px;
    border-left: 1px solid var(--line);
}

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

@media (max-width: 1100px) {
    .nav-time { display: none !important; }
}

/* === HERO === */
.hero {
    min-height: 100vh;
    padding: 140px 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.85;
}

.hero > *:not(.hero-canvas) {
    position: relative;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 95%);
    z-index: 1;
    pointer-events: none;
}

.hero-meta {
    display: flex;
    gap: 32px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--sans);
    font-size: clamp(56px, 12vw, 200px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.05em;
    margin: 60px 0;
}

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

.hero-title .line span {
    display: inline-block;
}

.hero-title em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.hero-title .subtitle {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.42em;
    color: var(--fg-dim);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-top: 16px;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
}

.hero-desc {
    font-size: 18px;
    color: var(--fg-dim);
    max-width: 460px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 800px) {
    .hero { padding: 110px 20px 80px; }
    .hero-meta { flex-direction: column; gap: 12px; }
    .hero-title { margin: 40px 0; }
    .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions { justify-content: flex-start; flex-wrap: wrap; }
    .hero-scroll { display: none; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: none;
    transition: transform 0.2s, background 0.3s, color 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 255, 0, 0.3);
}

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

.btn-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--fg-dim);
}

.btn-outline {
    background: transparent;
    color: var(--fg);
    border-color: var(--fg);
    padding: 18px 30px;
}

.btn-outline:hover {
    background: var(--fg);
    color: var(--bg);
}

.btn-large {
    padding: 18px 32px;
    font-size: 16px;
}

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

.marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(40px, 7vw, 90px);
    color: var(--fg);
    line-height: 1;
}

.marquee-track .sep {
    color: var(--accent);
    font-style: normal;
}

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

/* === SECTION LABEL === */
.section-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
}

/* === NUMBERS STRIP === */
.strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 80px 40px;
    border-bottom: 1px solid var(--line);
    gap: 1px;
    background: var(--line);
}

.strip-item {
    background: var(--bg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.4s;
}

.strip-item:hover {
    background: var(--bg-soft);
}

.strip-item strong {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(56px, 8vw, 100px);
    font-weight: 400;
    line-height: 0.9;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.strip-item span {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 800px) {
    .strip { grid-template-columns: repeat(2, 1fr); padding: 40px 20px; }
    .strip-item { padding: 24px 16px; }
}

/* === SECTION HEAD === */
.section-head {
    margin-bottom: 80px;
    max-width: 1000px;
}

.section-title {
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

/* === WORK / PROJECTS === */
.work {
    padding: 140px 40px;
    border-bottom: 1px solid var(--line);
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.project.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.project.reverse .project-visual {
    order: 2;
}

.project-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project:hover .project-visual {
    transform: scale(0.98);
}

.visual-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.8s;
}

.project:hover .visual-bg {
    transform: scale(1.05);
}

.visual-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: 55%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shape-circle {
    border-radius: 50%;
}

.shape-square {
    border-radius: 8px;
    transform: translate(-50%, -50%) rotate(8deg);
}

.shape-blob {
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.shape-triangle {
    background: transparent;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid rgba(10, 10, 10, 0.9);
}

.project:hover .visual-shape {
    transform: translate(-50%, -50%) scale(1.08) rotate(-3deg);
}

.project.reverse:hover .shape-square {
    transform: translate(-50%, -50%) rotate(20deg) scale(1.08);
}

.project-meta {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.project-info h3 {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}

.project-info p {
    font-size: 17px;
    color: var(--fg-dim);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--fg);
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: gap 0.3s, color 0.3s, border-color 0.3s;
}

.project-link:hover {
    gap: 16px;
    color: var(--accent);
    border-color: var(--accent);
}

.work-cta {
    margin-top: 100px;
    text-align: center;
}

@media (max-width: 800px) {
    .work { padding: 80px 20px; }
    .project, .project.reverse { grid-template-columns: 1fr; gap: 32px; }
    .project.reverse .project-visual { order: 0; }
    .projects { gap: 80px; }
}

/* === SERVICES BENTO === */
.services {
    padding: 140px 40px;
    border-bottom: 1px solid var(--line);
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 16px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s, border-color 0.4s, background 0.4s;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 255, 0, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--fg-dim);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-muted);
    letter-spacing: 0.1em;
    margin-bottom: auto;
}

.bento-card h3 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 60px 0 14px;
}

.bento-card p {
    font-size: 15px;
    color: var(--fg-dim);
    line-height: 1.5;
    max-width: 360px;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #181818, #0f0f0f);
}

.bento-large h3 {
    font-size: 48px;
    margin-top: 80px;
}

.bento-large p {
    font-size: 17px;
    max-width: 420px;
}

.bento-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.bento-tags li {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    color: var(--fg-dim);
}

.bento-accent {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.bento-accent .bento-num {
    color: rgba(10, 10, 10, 0.5);
}

.bento-accent p {
    color: rgba(10, 10, 10, 0.7);
}

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

.bento-wide h3 {
    margin-top: 40px;
}

.bento-full {
    grid-column: span 3;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
}

.bento-full h3 {
    margin-top: 40px;
    font-size: 36px;
}

.bento-full p {
    max-width: 580px;
    font-size: 16px;
}

.bento-signal {
    background: linear-gradient(135deg, #1a0e08, #0f0a08);
    border-color: #2a1408;
    position: relative;
}

.bento-signal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-warm);
}

.bento-signal .bento-num {
    color: var(--accent-warm);
}

.bento-signal h3,
.bento-accent + .bento-card .bento-num + h3 {
    color: var(--fg);
}

.bento-tags-dark li {
    border-color: rgba(10,10,10,0.2);
    color: rgba(10,10,10,0.75);
}

.bento-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-muted);
    letter-spacing: 0.12em;
    margin-bottom: auto;
    text-transform: uppercase;
}

.bento-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: auto;
    padding-top: 32px;
}

@media (max-width: 800px) {
    .bento-full { grid-column: span 1; }
    .bento-stats { grid-template-columns: repeat(2, 1fr); }
}

.bento-stats > div {
    display: flex;
    flex-direction: column;
}

.bento-stats strong {
    font-family: var(--serif);
    font-size: 56px;
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

.bento-stats span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

@media (max-width: 800px) {
    .services { padding: 80px 20px; }
    .bento { grid-template-columns: 1fr; }
    .bento-large, .bento-wide { grid-column: span 1; grid-row: span 1; }
    .bento-large h3 { font-size: 32px; margin-top: 40px; }
    .bento-stats { gap: 20px; flex-wrap: wrap; }
    .bento-stats strong { font-size: 40px; }
}

/* === PROCESS === */
.process {
    padding: 140px 40px;
    border-bottom: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.step {
    background: var(--bg);
    padding: 48px 40px;
    transition: background 0.4s;
    cursor: none;
}

.step:hover {
    background: var(--bg-soft);
}

.step-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.step-num {
    color: var(--accent);
}

.step h3 {
    font-family: var(--serif);
    font-style: italic;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1;
}

.step p {
    font-size: 16px;
    color: var(--fg-dim);
    line-height: 1.6;
    max-width: 440px;
}

@media (max-width: 800px) {
    .process { padding: 80px 20px; }
    .steps { grid-template-columns: 1fr; }
    .step { padding: 32px 24px; }
    .step h3 { font-size: 36px; }
    .step-head { margin-bottom: 32px; }
}

/* === TESTIMONIAL === */
.testimonial {
    padding: 160px 40px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.quote-mark {
    font-family: var(--serif);
    font-size: 220px;
    line-height: 0.6;
    color: var(--accent);
    margin-bottom: 20px;
    font-style: italic;
}

blockquote {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 52px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.testimonial-author > div {
    text-align: left;
}

.testimonial-author strong {
    display: block;
    font-weight: 500;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--fg-dim);
}

@media (max-width: 800px) {
    .testimonial { padding: 80px 20px; }
    .quote-mark { font-size: 120px; }
}

/* === CONTACT === */
.contact {
    padding: 160px 40px;
    border-bottom: 1px solid var(--line);
}

.contact-inner {
    max-width: 920px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(56px, 9vw, 140px);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 20px 0 32px;
}

.contact-title .italic {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.contact-sub {
    font-size: 18px;
    color: var(--fg-dim);
    margin-bottom: 60px;
    max-width: 540px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label > span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    color: var(--fg);
    font-family: var(--sans);
    font-size: 18px;
    transition: border-color 0.3s;
    cursor: none;
    resize: none;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--fg-muted);
}

.form-budget {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.form-budget > span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.budget-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.budget-options button {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--fg-dim);
    font-family: var(--sans);
    font-size: 14px;
    cursor: none;
    transition: all 0.3s;
}

.budget-options button:hover {
    border-color: var(--fg-dim);
    color: var(--fg);
}

.budget-options button.active {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

.contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 16px;
}

.form-success {
    color: var(--accent);
    font-size: 14px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.5s;
}

.form-success.show {
    opacity: 1;
}

.contact-direct {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid var(--line);
}

.contact-label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.contact-direct a {
    font-size: 17px;
    color: var(--fg);
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.contact-direct a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 800px) {
    .contact { padding: 80px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-direct { grid-template-columns: 1fr; gap: 24px; }
}

/* === FOOTER === */
.footer {
    padding: 80px 40px 30px;
    background: var(--bg);
    overflow: hidden;
}

.footer-mega {
    font-size: clamp(80px, 26vw, 380px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.85;
    background: linear-gradient(180deg, var(--fg) 30%, transparent 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 60px;
    user-select: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 800px) {
    .footer { padding: 40px 20px 20px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* === SPLIT TEXT === */
.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%) rotate(8deg);
    transition: opacity 0.7s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.split-ready .split-char {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

/* === PROJECT MOCKUPS === */
.mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    aspect-ratio: 16 / 11;
    background: #f7f4ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project:hover .mockup {
    transform: translate(-50%, -52%) scale(1.04);
}

/* Browser mockup (fashion) */
.mockup-browser .mockup-chrome {
    background: #efeae0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ddd5c5;
}

.mockup-dots {
    display: flex;
    gap: 5px;
}

.mockup-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d4ccba;
}

.mockup-url {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    color: #877f6e;
    background: #fff;
    padding: 5px 12px;
    border-radius: 4px;
}

.mockup-fashion {
    padding: 18px 22px;
    background: #f7f4ed;
    color: #1a1a1a;
    height: calc(100% - 35px);
    display: flex;
    flex-direction: column;
}

.mockup-nav {
    display: flex;
    gap: 16px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #6b6b6b;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.mockup-headline {
    font-family: var(--serif);
    font-size: 44px;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.mockup-headline em {
    font-style: italic;
    color: #5a8a00;
}

.mockup-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    flex: 1;
}

.m-card {
    background: linear-gradient(180deg, #d4ccba, #b8ad95);
    border-radius: 6px;
}

/* App mockup (music) */
.mockup-app {
    width: 38%;
    aspect-ratio: 9 / 16;
    background: #0f0a08;
    color: #fff;
    border-radius: 28px;
    padding: 18px;
    border: 6px solid #1a1a1a;
}

.mockup-app-top {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 9px;
    color: #888;
    margin-bottom: 14px;
}

.mockup-app-status { color: #c8ff00; }

.mockup-app-art {
    aspect-ratio: 1;
    border-radius: 14px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.mockup-app-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 50%);
}

.mockup-app-title {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 4px;
}

.mockup-app-artist {
    font-size: 11px;
    color: #888;
    margin-bottom: 14px;
}

.mockup-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 26px;
    margin-bottom: 14px;
}

.mockup-waveform span {
    flex: 1;
    background: #ff5e2b;
    border-radius: 2px;
    animation: wave 1.4s ease-in-out infinite;
}

.mockup-waveform span:nth-child(1) { height: 40%; animation-delay: 0.0s; }
.mockup-waveform span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.mockup-waveform span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.mockup-waveform span:nth-child(4) { height: 100%; animation-delay: 0.3s; }
.mockup-waveform span:nth-child(5) { height: 70%; animation-delay: 0.4s; }
.mockup-waveform span:nth-child(6) { height: 50%; animation-delay: 0.5s; }
.mockup-waveform span:nth-child(7) { height: 90%; animation-delay: 0.6s; }
.mockup-waveform span:nth-child(8) { height: 60%; animation-delay: 0.7s; }
.mockup-waveform span:nth-child(9) { height: 80%; animation-delay: 0.8s; }
.mockup-waveform span:nth-child(10) { height: 40%; animation-delay: 0.9s; }
.mockup-waveform span:nth-child(11) { height: 70%; animation-delay: 1.0s; opacity: 0.3; }
.mockup-waveform span:nth-child(12) { height: 50%; animation-delay: 1.1s; opacity: 0.3; }
.mockup-waveform span:nth-child(13) { height: 90%; animation-delay: 1.2s; opacity: 0.3; }
.mockup-waveform span:nth-child(14) { height: 30%; animation-delay: 1.3s; opacity: 0.3; }
.mockup-waveform span:nth-child(15) { height: 60%; animation-delay: 1.4s; opacity: 0.3; }
.mockup-waveform span:nth-child(16) { height: 80%; animation-delay: 1.5s; opacity: 0.3; }
.mockup-waveform span:nth-child(17) { height: 50%; animation-delay: 1.6s; opacity: 0.3; }
.mockup-waveform span:nth-child(18) { height: 70%; animation-delay: 1.7s; opacity: 0.3; }
.mockup-waveform span:nth-child(19) { height: 40%; animation-delay: 1.8s; opacity: 0.3; }
.mockup-waveform span:nth-child(20) { height: 60%; animation-delay: 1.9s; opacity: 0.3; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.mockup-app-controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 18px;
    color: #fff;
}

.mockup-app-controls .play {
    background: #ff5e2b;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Editorial mockup (architecture) */
.mockup-editorial {
    background: #0a0a0a;
    color: #f4f1ea;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mockup-edit-head {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 9px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.mockup-edit-title {
    font-family: var(--serif);
    font-size: 40px;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.mockup-edit-title em {
    font-style: italic;
    color: #7c5cff;
}

.mockup-edit-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 4px;
    margin-bottom: 12px;
}

.m-block {
    background: linear-gradient(180deg, #2a2440, #15102a);
    border-radius: 3px;
}

.m-block.tall { grid-row: span 2; }
.m-block.wide { grid-column: span 2; }

.mockup-edit-meta {
    font-family: var(--mono);
    font-size: 9px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Bottle mockup (spirits) */
.mockup-bottle {
    background: linear-gradient(180deg, #0a1a14, #06120e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
}

.bottle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottle-neck {
    width: 28px;
    height: 38px;
    background: linear-gradient(180deg, #1a3a2a, #0a1f15);
    border-radius: 4px 4px 0 0;
    border: 1px solid #00d4a8;
    border-bottom: none;
}

.bottle-body {
    width: 110px;
    height: 170px;
    background: linear-gradient(180deg, #1a3a2a, #0a1f15);
    border-radius: 8px 8px 14px 14px;
    border: 1px solid #00d4a8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset -10px 0 30px rgba(0,0,0,0.5), inset 10px 0 30px rgba(255,255,255,0.05);
}

.bottle-label {
    background: #f7f4ed;
    color: #06120e;
    width: 85%;
    padding: 14px 8px;
    text-align: center;
    font-family: var(--serif);
}

.bottle-mark {
    display: block;
    font-family: var(--mono);
    font-size: 8px;
    color: #00d4a8;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}

.bottle-label em {
    font-style: italic;
    font-size: 22px;
    display: block;
    line-height: 1;
}

.bottle-sub {
    display: block;
    font-family: var(--mono);
    font-size: 7px;
    margin-top: 4px;
    color: #5a6b62;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mockup-bottle-meta {
    display: flex;
    gap: 18px;
    font-family: var(--mono);
    font-size: 9px;
    color: #5a8a70;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mockup-bottle-meta span:last-child {
    color: #00d4a8;
    font-weight: 500;
}

/* Hide old shapes (kept for safety) */
.visual-shape { display: none; }

@media (max-width: 800px) {
    .mockup { width: 86%; }
    .mockup-app { width: 50%; }
    .mockup-headline { font-size: 28px; }
    .mockup-edit-title { font-size: 26px; }
    .mockup-app-title { font-size: 16px; }
}

/* === CASE STUDY === */
.case-page {
    padding-top: 100px;
}

.case-hero {
    padding: 80px 40px 120px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.case-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 60px;
    transition: color 0.3s, gap 0.3s;
}

.case-back:hover {
    color: var(--accent);
    gap: 14px;
}

.case-tag {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.case-tag span:not(:last-child)::after {
    content: '/';
    color: var(--fg-muted);
    margin-left: 24px;
}

.case-title {
    font-size: clamp(56px, 11vw, 180px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.92;
    margin-bottom: 32px;
}

.case-title em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.case-lede {
    font-size: clamp(20px, 2.2vw, 28px);
    color: var(--fg-dim);
    line-height: 1.4;
    max-width: 760px;
    letter-spacing: -0.01em;
}

.case-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 40px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.case-facts dt {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.case-facts dd {
    font-size: 17px;
    color: var(--fg);
    line-height: 1.4;
}

.case-section {
    padding: 120px 40px;
    border-bottom: 1px solid var(--line);
}

.case-section.light {
    background: #f4f1ea;
    color: #0a0a0a;
}

.case-section.light .case-num,
.case-section.light .case-label { color: rgba(10,10,10,0.5); }

.case-section.light h2 { color: #0a0a0a; }

.case-section.light p,
.case-section.light li { color: rgba(10,10,10,0.7); }

.case-section.light strong { color: #0a0a0a; }

.case-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.case-grid-2 .case-side {
    position: sticky;
    top: 120px;
    align-self: start;
}

.case-num {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.case-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.case-section h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.case-section h2 em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.case-body p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--fg-dim);
    margin-bottom: 16px;
    max-width: 640px;
}

.case-body p:first-of-type::first-letter {
    font-family: var(--serif);
    font-style: italic;
    font-size: 56px;
    line-height: 0.9;
    float: left;
    padding: 6px 12px 0 0;
    color: var(--accent);
}

.case-body strong { color: var(--fg); font-weight: 500; }

.case-body ul {
    list-style: none;
    margin-top: 20px;
}

.case-body ul li {
    font-size: 16px;
    color: var(--fg-dim);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
}

.case-body ul li::before {
    content: '→';
    color: var(--accent);
    flex-shrink: 0;
}

.case-figure {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 80px auto;
    max-width: 1280px;
    box-shadow: 0 60px 120px -40px rgba(0,0,0,0.7);
}

.case-figure-full {
    margin: 0;
    border-radius: 0;
    max-width: none;
    aspect-ratio: 21 / 9;
}

.case-caption {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    margin: -60px auto 0;
    padding: 0 40px;
    max-width: 1280px;
}

.case-figure-bg {
    position: absolute;
    inset: 0;
}

/* Palette swatches */
.case-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    margin: 60px 0;
}

.case-swatch {
    aspect-ratio: 1 / 1.2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.case-swatch span:first-child { opacity: 0.6; }
.case-swatch span:last-child { font-size: 12px; }

/* Type specimen */
.case-type {
    margin: 60px 0;
    padding: 60px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.case-type-letter {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(120px, 22vw, 320px);
    line-height: 0.9;
    color: var(--accent);
    letter-spacing: -0.04em;
}

.case-type-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* Numbers row */
.case-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.case-number {
    background: var(--bg);
    padding: 60px 40px;
    text-align: center;
}

.case-number strong {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(64px, 9vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    color: var(--accent);
    letter-spacing: -0.03em;
    display: block;
}

.case-number span {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 16px;
}

/* Big quote */
.case-quote {
    padding: 140px 40px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    max-width: 1100px;
    margin: 0 auto;
}

.case-quote blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.case-quote cite {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-style: normal;
}

/* Next case */
.case-next {
    display: block;
    padding: 100px 40px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    transition: background 0.4s;
}

.case-next:hover { background: var(--bg-soft); }

.case-next .next-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.case-next .next-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    transition: gap 0.3s;
}

.case-next:hover .next-title { gap: 40px; color: var(--accent); }

.case-next .next-title em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

@media (max-width: 800px) {
    .case-hero { padding: 60px 20px 80px; }
    .case-facts { grid-template-columns: 1fr 1fr; padding: 40px 20px; gap: 24px; }
    .case-section { padding: 60px 20px; }
    .case-grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .case-grid-2 .case-side { position: static; }
    .case-palette { grid-template-columns: repeat(3, 1fr); }
    .case-numbers { grid-template-columns: 1fr 1fr; }
    .case-number { padding: 40px 20px; }
    .case-figure { margin: 40px 20px; border-radius: 14px; }
    .case-type { padding: 40px 24px; }
    .case-type-letter { font-size: 140px; }
}

/* === LEGAL PAGES === */
.legal-page {
    padding: 160px 40px 100px;
    max-width: 880px;
    margin: 0 auto;
}

.legal-breadcrumb {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.legal-breadcrumb a {
    color: var(--fg-dim);
    transition: color 0.3s;
}

.legal-breadcrumb a:hover {
    color: var(--accent);
}

.legal-breadcrumb .sep {
    color: var(--fg-muted);
}

.legal-page h1 {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
}

.legal-page h1 em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.legal-meta {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 32px;
    margin-bottom: 56px;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 64px;
}

.legal-toc-title {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 32px;
}

.legal-toc li {
    counter-increment: toc;
    font-size: 14px;
}

.legal-toc li::before {
    content: counter(toc, decimal-leading-zero) " — ";
    color: var(--fg-muted);
    font-family: var(--mono);
    font-size: 12px;
    margin-right: 4px;
}

.legal-toc a {
    color: var(--fg-dim);
    transition: color 0.3s;
}

.legal-toc a:hover {
    color: var(--accent);
}

.legal-body section {
    margin-bottom: 56px;
}

.legal-body h2 {
    font-family: var(--sans);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.legal-body h2 .num {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.08em;
    font-weight: 400;
}

.legal-body h3 {
    font-size: 17px;
    font-weight: 500;
    margin: 28px 0 10px;
    color: var(--fg);
}

.legal-body p,
.legal-body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fg-dim);
    margin-bottom: 14px;
}

.legal-body strong {
    color: var(--fg);
    font-weight: 500;
}

.legal-body a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.legal-body a:hover {
    border-color: var(--accent);
}

.legal-body ul {
    list-style: none;
    margin: 12px 0 20px;
    padding-left: 0;
}

.legal-body ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.legal-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.legal-info-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 16px 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
}

.legal-info-card dt {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.legal-info-card dd {
    font-size: 15px;
    color: var(--fg);
}

.legal-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.legal-pager a {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 28px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.legal-pager a:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.legal-pager .pager-label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.legal-pager .pager-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.legal-pager .pager-next {
    text-align: right;
}

@media (max-width: 800px) {
    .legal-page { padding: 110px 20px 60px; }
    .legal-toc ol { grid-template-columns: 1fr; }
    .legal-info-card { grid-template-columns: 1fr; }
    .legal-pager { grid-template-columns: 1fr; }
    .legal-pager .pager-next { text-align: left; }
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
