/* ═══════════════════════════════════════════════════════════
   RLH — Reverse Logistics Hub
   Editorial design system · v2.0
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Primary palette */
    --orange: #C2410C;
    --ink: #1F1A17;
    --sand: #E5E0D8;
    --paper: #FFFFFF;
    --grey: #6B6258;
    --cream: #EFE7D8;

    /* Secondary palette */
    --ivory: #FAF6EF;
    --shadow: #2C2620;
    --caramel: #8B5A2B;
    --neutral: #9B9082;
    --peach: #F2A98A;

    /* Theme tokens (light by default) */
    --bg: var(--ivory);
    --bg-alt: var(--cream);
    --bg-dark: var(--ink);
    --fg: var(--ink);
    --fg-mute: var(--grey);
    --accent: var(--orange);
    --line: rgba(31, 26, 23, 0.12);
    --line-strong: rgba(31, 26, 23, 0.3);

    /* Type */
    --font-serif: 'Instrument Serif', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Spacing rhythm */
    --gutter: clamp(20px, 4vw, 80px);
    --section-y: clamp(80px, 12vw, 180px);

    --ease: cubic-bezier(0.6, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg: var(--ink);
    --bg-alt: var(--shadow);
    --bg-dark: var(--ivory);
    --fg: var(--ivory);
    --fg-mute: #9B9082;
    --line: rgba(229, 224, 216, 0.12);
    --line-strong: rgba(229, 224, 216, 0.3);
}

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

html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background 0.4s var(--ease), color 0.4s var(--ease);
    cursor: none;
}

@media (max-width: 1024px) {
    body { cursor: auto; }
}

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

img {
    max-width: 100%;
    display: block;
}

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

/* ═══════════════ GRAIN OVERLAY ═══════════════ */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme="dark"] .grain {
    mix-blend-mode: screen;
    opacity: 0.25;
}

/* ═══════════════ CUSTOM CURSOR ═══════════════ */
.cursor,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    mix-blend-mode: difference;
}

.cursor {
    width: 8px;
    height: 8px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}

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

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.6);
}

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

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

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

.loader-inner {
    text-align: center;
    color: var(--ivory);
    width: min(90%, 480px);
}

.loader-text {
    font-family: var(--font-serif);
    font-size: clamp(70px, 14vw, 160px);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: letterIn 0.6s var(--ease-out) forwards;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }

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

.loader-progress {
    width: 100%;
    height: 1px;
    background: rgba(229,224,216,0.2);
    overflow: hidden;
    margin-bottom: 16px;
}

.loader-bar {
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.1s linear;
}

.loader-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* ═══════════════ STATUS BAR ═══════════════ */
.status-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 50;
}

.status-bar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 10px var(--gutter);
    gap: 24px;
}

.status-group {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.status-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(194,65,12,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(194,65,12,0); }
}

.status-sep {
    opacity: 0.4;
}

.status-marquee {
    overflow: hidden;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 0 16px;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    color: var(--fg-mute);
    text-transform: uppercase;
}

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

/* ═══════════════ NAV ═══════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
    border-bottom-color: var(--line);
    backdrop-filter: blur(10px);
    background: rgba(250, 246, 239, 0.85);
}

[data-theme="dark"] .nav.scrolled {
    background: rgba(31, 26, 23, 0.85);
}

.nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px var(--gutter);
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    color: var(--fg);
    transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark {
    transform: rotate(45deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--fg);
}

.brand-dot {
    color: var(--accent);
}

.brand-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.nav-links a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 100px;
    transition: background 0.3s var(--ease);
    position: relative;
}

.nav-links a span {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--fg-mute);
}

.nav-links a:hover {
    background: var(--bg-alt);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.theme-toggle:hover {
    background: var(--bg-alt);
    transform: rotate(180deg);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--fg);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s var(--ease);
}

.btn-ghost svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}

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

.btn-ghost:hover svg {
    transform: translateX(4px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--fg);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 100px);
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero-overline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.overline-line {
    width: 60px;
    height: 1px;
    background: var(--accent);
}

.overline-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(64px, 13vw, 220px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 60px;
    font-weight: 400;
}

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

.reveal-line {
    display: block;
    overflow: hidden;
}

.reveal-line > span {
    display: block;
    transform: translateY(110%);
    transition: transform 1.2s var(--ease-out);
}

.reveal-line.active > span {
    transform: translateY(0);
}

.reveal-line:nth-child(2) > span {
    transition-delay: 0.15s;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 60px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 48px;
}

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

.meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.meta-value {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--fg);
}

.hero-lead {
    font-family: var(--font-serif);
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.4;
    color: var(--fg);
    max-width: 720px;
    margin-bottom: 48px;
}

.hero-lead em {
    font-style: italic;
    color: var(--accent);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    --btn-bg: var(--ink);
    --btn-fg: var(--ivory);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
    position: relative;
    transition: background 0.4s var(--ease);
}

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

.btn-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.2em;
}

.btn-text span {
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.btn-primary:hover .btn-text span {
    transform: translateY(-100%);
}

.btn-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--btn-fg);
    color: var(--btn-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease);
}

.btn-arrow svg {
    width: 14px;
    height: 14px;
}

.btn-primary:hover .btn-arrow {
    transform: rotate(-45deg);
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--fg);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 4px;
    transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

/* Hero numeral */
.hero-numeral {
    position: absolute;
    top: 50%;
    right: var(--gutter);
    transform: translateY(-50%);
    text-align: right;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06;
}

.numeral {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(280px, 38vw, 600px);
    line-height: 0.85;
    color: var(--fg);
    display: block;
    letter-spacing: -0.05em;
}

.numeral-meta {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg-mute);
    margin-top: 12px;
    opacity: 5;
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.cue-line {
    width: 1px;
    height: 60px;
    background: var(--fg-mute);
    position: relative;
    overflow: hidden;
}

.cue-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    animation: cueLine 2s ease-in-out infinite;
}

@keyframes cueLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ═══════════════ BIG MARQUEE ═══════════════ */
.big-marquee {
    overflow: hidden;
    background: var(--ink);
    color: var(--ivory);
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.big-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-family: var(--font-serif);
    font-size: clamp(40px, 7vw, 100px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.big-marquee-track em {
    font-style: normal;
    color: var(--accent);
    font-size: 0.6em;
}

/* ═══════════════ SECTION OVERLINE ═══════════════ */
.section-overline {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.section-overline.light {
    color: rgba(229,224,216,0.6);
}

.overline-divider {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.overline-divider.light {
    background: rgba(229,224,216,0.15);
}

/* ═══════════════ MANIFESTO ═══════════════ */
.manifesto {
    padding: var(--section-y) var(--gutter);
    border-bottom: 1px solid var(--line);
}

.manifesto-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: flex-start;
}

.manifesto-numeral {
    position: sticky;
    top: 120px;
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 0.8;
    letter-spacing: -0.05em;
    display: flex;
}

.huge-zero, .huge-2 {
    font-size: clamp(180px, 28vw, 480px);
    color: var(--fg);
}

.huge-2 {
    color: var(--accent);
}

.manifesto-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    font-weight: 400;
}

.manifesto-title em {
    font-style: italic;
    color: var(--accent);
}

.manifesto-body p {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
    margin-bottom: 24px;
    color: var(--fg);
}

.manifesto-body p em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    font-size: 1.1em;
}

.manifesto-signature {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.manifesto-signature svg {
    width: 100px;
    height: 36px;
    color: var(--accent);
}

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

/* ═══════════════ SERVICES ═══════════════ */
.services {
    padding: var(--section-y) var(--gutter);
    border-bottom: 1px solid var(--line);
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: flex-end;
    margin-bottom: 100px;
}

.services-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 7vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 400;
}

.services-title span {
    display: block;
}

.services-title em {
    font-style: italic;
    color: var(--accent);
}

.services-desc {
    font-size: 17px;
    color: var(--fg-mute);
    line-height: 1.7;
    max-width: 420px;
}

.services-list {
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1fr auto 60px;
    gap: 40px;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    transition: padding 0.5s var(--ease);
    overflow: hidden;
}

.service-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
    z-index: 0;
}

.service-row:hover::before {
    transform: translateX(0);
}

.service-row > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease);
}

.service-row:hover {
    padding-left: 24px;
    padding-right: 24px;
}

.service-row:hover,
.service-row:hover h3,
.service-row:hover p,
.service-row:hover .service-num,
.service-row:hover .service-tags span {
    color: var(--ivory);
}

.service-num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--fg-mute);
    letter-spacing: 0.1em;
}

.service-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-mark {
    font-size: 14px;
    color: var(--accent);
}

.service-content p {
    font-size: 15px;
    color: var(--fg-mute);
    max-width: 540px;
    line-height: 1.55;
}

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

.service-tags span {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    color: var(--fg-mute);
}

.service-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease);
}

.service-row:hover .service-arrow {
    background: var(--ivory);
    border-color: var(--ivory);
    color: var(--accent);
    transform: rotate(-45deg);
}

/* ═══════════════ PROCESS (sticky) ═══════════════ */
.process {
    padding: var(--section-y) var(--gutter);
    background: var(--bg-alt);
    position: relative;
}

.process-sticky {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: flex-start;
}

.process-left {
    position: sticky;
    top: 120px;
    align-self: start;
}

.process-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5.5vw, 80px);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    font-weight: 400;
}

.process-title em {
    font-style: italic;
    color: var(--accent);
}

.process-lead {
    font-size: 17px;
    color: var(--fg-mute);
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 380px;
}

.process-progress {
    position: relative;
    height: 2px;
    max-width: 240px;
}

.progress-track {
    position: absolute;
    inset: 0;
    background: var(--line);
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.process-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -20px rgba(31,26,23,0.15);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.step-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.4s var(--ease);
}

.process-step:hover .step-icon {
    background: var(--accent);
    color: var(--ivory);
    transform: rotate(360deg);
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.process-step p {
    color: var(--fg-mute);
    line-height: 1.65;
    margin-bottom: 20px;
}

.step-detail {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--accent);
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

/* ═══════════════ STATS ═══════════════ */
.stats {
    padding: var(--section-y) var(--gutter);
    background: var(--ink);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(194,65,12,0.2), transparent 70%);
    pointer-events: none;
}

.stats > * {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.stats-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 7vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 100px;
    font-weight: 400;
}

.stats-title em {
    font-style: italic;
    color: var(--peach);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 60px;
}

.stat-block {
    text-align: left;
    padding: 0 32px;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: clamp(64px, 9vw, 140px);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: var(--peach);
}

.stat-num sup {
    font-size: 0.4em;
    color: var(--ivory);
    margin-left: 4px;
    vertical-align: super;
}

.stat-label {
    font-size: 14px;
    color: var(--ivory);
    margin-bottom: 12px;
    line-height: 1.4;
}

.stat-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.5);
}

.stat-divider {
    width: 1px;
    height: 120px;
    background: rgba(229,224,216,0.15);
}

.stats-footnote {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(229,224,216,0.4);
    letter-spacing: 0.1em;
    padding-top: 40px;
    border-top: 1px solid rgba(229,224,216,0.1);
}

/* ═══════════════ PRICING ═══════════════ */
.pricing {
    padding: var(--section-y) var(--gutter);
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    font-weight: 400;
}

.pricing-title span {
    display: block;
}

.pricing-title em {
    font-style: italic;
    color: var(--accent);
}

.pricing-header p {
    font-size: 17px;
    color: var(--fg-mute);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}

.plan:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.plan-featured {
    background: var(--ink);
    color: var(--ivory);
    border-color: var(--ink);
}

.plan-featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(31,26,23,0.4);
}

.plan-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--accent);
    color: var(--ivory);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.plan-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.plan-num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--fg-mute);
    letter-spacing: 0.1em;
}

.plan-featured .plan-num {
    color: rgba(229,224,216,0.5);
}

.plan h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.plan-featured h3 { color: var(--ivory); }

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.plan-featured .plan-price {
    border-color: rgba(229,224,216,0.15);
}

.price-currency {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--fg-mute);
}

.price-value {
    font-family: var(--font-serif);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--fg);
}

.plan-featured .price-value {
    color: var(--ivory);
}

.price-period {
    font-size: 14px;
    color: var(--fg-mute);
}

.plan-desc {
    font-size: 15px;
    color: var(--fg-mute);
    line-height: 1.6;
    margin-bottom: 32px;
}

.plan-desc em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
}

.plan-featured .plan-desc { color: rgba(229,224,216,0.7); }

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px dashed var(--line);
}

.plan-featured .plan-features li {
    border-color: rgba(229,224,216,0.1);
}

.plan-features li.muted {
    opacity: 0.4;
}

.check {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 700;
}

.muted .check { color: var(--fg-mute); }

.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border: 1px solid var(--fg);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s var(--ease);
}

.plan-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s var(--ease);
}

.plan-cta:hover {
    background: var(--fg);
    color: var(--bg);
}

.plan-cta:hover svg {
    transform: translateX(6px);
}

.plan-featured .plan-cta {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ivory);
}

.plan-featured .plan-cta:hover {
    background: var(--ivory);
    color: var(--ink);
    border-color: var(--ivory);
}

/* ═══════════════ QUOTE ═══════════════ */
.quote-section {
    padding: var(--section-y) var(--gutter);
    text-align: center;
    background: var(--bg-alt);
    position: relative;
    border-bottom: 1px solid var(--line);
}

.quote-mark {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(200px, 24vw, 400px);
    line-height: 0.6;
    color: var(--accent);
    opacity: 0.15;
    margin-bottom: 0;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5.5vw, 88px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 1200px;
    margin: -40px auto 60px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.quote-text em {
    font-style: italic;
    color: var(--accent);
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-mute);
}

.author-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
    padding: var(--section-y) var(--gutter);
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 100px);
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    font-weight: 400;
}

.contact-title em {
    font-style: italic;
    color: var(--accent);
}

.contact-lead {
    font-size: 17px;
    color: var(--fg-mute);
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 440px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--fg-mute);
}

.info-value {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.3;
    color: var(--fg);
    transition: color 0.3s var(--ease);
}

a.info-value:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px;
}

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

.form-field {
    margin-bottom: 24px;
    position: relative;
}

.form-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--fg);
    transition: border-color 0.3s var(--ease);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--fg-mute);
    opacity: 0.5;
}

.form-submit {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    background: var(--ink);
    color: var(--ivory);
    padding: 80px var(--gutter) 30px;
    overflow: hidden;
}

.footer-mega {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-serif);
    font-size: clamp(180px, 35vw, 600px);
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(229,224,216,0.15);
}

.footer-mega span {
    display: inline-block;
    transition: transform 0.5s var(--ease), color 0.3s var(--ease);
    cursor: pointer;
}

.footer-mega .dot {
    color: var(--accent);
    font-style: italic;
}

.footer-mega span:hover {
    color: var(--accent);
    transform: translateY(-20px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.4);
    margin-bottom: 20px;
    display: block;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(229,224,216,0.7);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-col a {
    color: rgba(229,224,216,0.7);
    transition: color 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--peach);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-newsletter {
    display: flex;
    border: 1px solid rgba(229,224,216,0.2);
    border-radius: 100px;
    overflow: hidden;
}

.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: var(--ivory);
    font-family: inherit;
    font-size: 14px;
}

.footer-newsletter input::placeholder {
    color: rgba(229,224,216,0.4);
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    width: 44px;
    background: var(--accent);
    border: none;
    color: var(--ivory);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s var(--ease);
}

.footer-newsletter button:hover {
    background: var(--peach);
    color: var(--ink);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(229,224,216,0.1);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: rgba(229,224,216,0.5);
    text-transform: uppercase;
}

/* ═══════════════ AI CHAT WIDGET — PREMIUM ═══════════════ */
.ai-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
}

.chat-trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--ink);
    color: var(--ivory);
    padding: 14px 22px 14px 14px;
    border: 1px solid rgba(229,224,216,0.15);
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 20px 50px -10px rgba(31,26,23,0.4);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.chat-trigger:hover {
    transform: translateY(-4px);
    background: var(--accent);
}

.trigger-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory);
    transition: background 0.4s var(--ease);
}

.chat-trigger:hover .trigger-icon {
    background: var(--ivory);
    color: var(--accent);
}

.trigger-icon svg {
    width: 18px;
    height: 18px;
}

.trigger-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    text-align: left;
}

.trigger-label > span:first-child {
    font-size: 14px;
    font-weight: 500;
}

.trigger-status {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.6);
}

.chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 420px;
    height: 620px;
    max-height: 80vh;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 40px 100px -20px rgba(31,26,23,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatIn 0.4s var(--ease-out);
}

.chat-panel.active {
    display: flex;
}

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

/* ── Chat Head ── */
.chat-head {
    background: var(--ink);
    color: var(--ivory);
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(229,224,216,0.1);
}

.chat-head-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-head-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(229,224,216,0.15);
    color: rgba(229,224,216,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.3s var(--ease);
}

.chat-action-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ivory);
}

.chat-action-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ivory);
}

/* ── Avatar Premium ── */
.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #e87040);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.avatar-letter {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    z-index: 2;
    position: relative;
    transition: opacity 0.3s var(--ease);
}

.avatar-waves {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.avatar-waves span {
    width: 3px;
    border-radius: 100px;
    background: var(--ivory);
}

.avatar-waves span:nth-child(1) { height: 8px; }
.avatar-waves span:nth-child(2) { height: 16px; }
.avatar-waves span:nth-child(3) { height: 10px; }



.chat-head h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--ivory);
    font-weight: 400;
}

.chat-status {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(229,224,216,0.2);
    color: var(--ivory);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.3s var(--ease);
}

.chat-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ── Settings Drawer ── */
.chat-settings {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
    background: rgba(31,26,23,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.chat-settings.open {
    max-height: 450px;
}

.settings-inner {
    padding: 20px 24px;
}

.settings-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.6);
    margin-bottom: 18px;
}

.settings-title i {
    color: var(--accent);
}

.settings-field {
    margin-bottom: 14px;
}

.settings-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.5);
    margin-bottom: 6px;
}

.settings-field select,
.settings-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(229,224,216,0.15);
    border-radius: 12px;
    background: rgba(229,224,216,0.06);
    color: var(--ivory);
    font-family: var(--font-mono);
    font-size: 13px;
    transition: border-color 0.3s var(--ease);
    box-sizing: border-box;
}

.settings-field select:focus,
.settings-field input:focus {
    outline: none;
    border-color: var(--accent);
}

.settings-field select option {
    background: var(--ink);
    color: var(--ivory);
}

.key-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.key-input-wrap input {
    padding-right: 40px;
}

.key-toggle {
    position: absolute;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(229,224,216,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: color 0.3s var(--ease);
}

.key-toggle:hover {
    color: var(--accent);
}

.settings-save {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: var(--ivory);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s var(--ease), transform 0.2s var(--ease);
    margin-top: 4px;
}

.settings-save:hover {
    background: #d94a0a;
    transform: translateY(-1px);
}

.settings-save.saved {
    background: #16a34a;
}

.settings-note {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(229,224,216,0.3);
    margin-top: 10px;
    text-align: center;
}

/* ── Chat Messages ── */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg);
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 100px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 92%;
    animation: msgIn 0.4s var(--ease-out);
}

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

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #e87040);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.msg-avatar span {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 15px;
}

.chat-msg.user .msg-avatar {
    background: var(--ink);
    font-style: normal;
}

.msg-bubble {
    background: var(--bg-alt);
    padding: 14px 18px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--fg);
}

.chat-msg.user .msg-bubble {
    background: var(--ink);
    color: var(--ivory);
    border-top-left-radius: 16px;
    border-top-right-radius: 4px;
}

.msg-bubble p {
    margin: 0;
}

.msg-bubble p + p {
    margin-top: 8px;
}

.msg-bubble em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
}

.chat-msg.user .msg-bubble em {
    color: var(--peach);
}

.msg-bubble ul {
    margin: 8px 0 8px 20px;
}

.msg-bubble li {
    margin: 4px 0;
    font-size: 13px;
}

.msg-bubble strong { font-weight: 600; }

/* Streaming cursor */
.msg-bubble .streaming-cursor::after {
    content: '▍';
    color: var(--accent);
    animation: cursorBlink 0.8s step-end infinite;
    margin-left: 1px;
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Typing indicator */
.typing {
    display: inline-flex;
    gap: 4px;
    padding: 4px 0;
}

.typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: typing 1.4s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ── Chips ── */
.chat-chips {
    padding: 12px 20px 4px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.chip {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--fg);
    padding: 6px 12px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.chip:hover {
    background: var(--accent);
    color: var(--ivory);
    border-color: var(--accent);
}

/* ── Chat Form with Mic ── */
.chat-form {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg);
    align-items: center;
}

.chat-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg-alt);
    color: var(--fg);
    min-width: 0;
}

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

/* Microphone Button */
.mic-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--fg-mute);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.mic-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mic-btn.recording {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ivory);
    animation: micGlow 1.5s ease-in-out infinite;
}

.mic-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    pointer-events: none;
}

.mic-btn.recording .mic-pulse {
    animation: micPulseAnim 1.2s ease-out infinite;
}

@keyframes micGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(194,65,12,0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(194,65,12,0.2); }
}

@keyframes micPulseAnim {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Send Button */
.chat-form button[type="submit"] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: var(--ivory);
    cursor: pointer;
    transition: transform 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-form button[type="submit"]:hover {
    transform: rotate(-45deg);
}

.chat-form button[type="submit"] svg {
    width: 16px;
    height: 16px;
}

/* ── Footer ── */
.chat-foot {
    text-align: center;
    padding: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-mute);
    border-top: 1px solid var(--line);
    background: var(--bg);
}

/* ═══════════════ FADE IN ANIMATIONS ═══════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    .nav-cta .btn-ghost { display: none; }

    .manifesto-grid { grid-template-columns: 1fr; }
    .manifesto-numeral { position: relative; top: 0; justify-content: center; }
    .huge-zero, .huge-2 { font-size: 200px; }

    .services-header { grid-template-columns: 1fr; gap: 40px; }
    .service-row { grid-template-columns: 60px 1fr 48px; gap: 24px; }
    .service-tags { display: none; }

    .process-sticky { grid-template-columns: 1fr; }
    .process-left { position: relative; top: 0; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .stat-divider { display: none; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }

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

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .status-marquee { display: none; }
    .status-bar-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 720px) {
    :root { --gutter: 20px; --section-y: 80px; }

    .hero { min-height: auto; padding: 80px var(--gutter); }
    .hero-meta { grid-template-columns: 1fr; gap: 16px; }
    .hero-numeral { display: none; }
    .scroll-cue { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-block { text-align: center; padding: 24px 0; border-bottom: 1px solid rgba(229,224,216,0.1); }

    .form-row { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 32px 24px; }

    .chat-panel { width: calc(100vw - 32px); right: -8px; height: 70vh; }
    .ai-chat { right: 16px; bottom: 16px; }
    .trigger-label { display: none; }
    .chat-trigger { padding: 12px; }

    .footer-mega { font-size: 30vw; }

    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn-primary { width: 100%; justify-content: center; }
}
