/* ═══════════════════════════════════════════════════════════════════════════
   TRES COMAS NUTRITION LABS — v6.0 Character Selector Edition
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Core Brand */
    --tc-gold: #C9A84C;
    --tc-gold-light: #FFD700;
    --tc-dark: #0d1117;
    --tc-dark-2: #0a0a0f;
    --tc-dark-3: #12181f;
    --tc-dark-4: #161d26;
    --tc-unicorn: #7B2FBE;
    --tc-green: #00FF41;
    --tc-text: #d1d5db;
    --tc-text-muted: #6b7280;
    --tc-border: rgba(201,168,76,0.2);
    --tc-border-hover: rgba(201,168,76,0.5);

    /* Character Accent Colors */
    --char-richard: #4A9EFF;
    --char-erlich: #FF6B35;
    --char-gilfoyle: #CC0000;
    --char-dinesh: #0099FF;
    --char-jared: #7EC8A4;
    --char-bighead: #A8D8EA;
    --char-gavin: #8A2BE2;
    --char-russ: #FFD700;
    --char-monica: #2ECC71;
    --char-jianyang: #FF69B4;

    /* Legacy Variables (for compatibility) */
    --primary: #00d9ff;
    --secondary: #ff006e;
    --accent: #00ff9f;
    --ninja-orange: #ff8c00;
    --pre-workout: #ffd700;
    --post-workout: #ff006e;
    --dark: #0d1117;
    --dark-lighter: #151933;
    --dark-card: #1a1f3a;
    --text: #e8eaf6;
    --text-muted: #9fa8da;
    --code-bg: #0d1117;
    --border: #30363d;
    --color-phosphor: #00FF41;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--tc-dark);
    color: var(--tc-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER - EDITORIAL LUXURY DARK MODE
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-header {
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-bottom: 1px solid rgba(201,168,76,0.3);
}

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

.tc-header-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.18;
    filter: saturate(0.4) brightness(0.6);
}

.tc-header-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,17,23,0.4) 0%,
        rgba(13,17,23,0.7) 50%,
        rgba(13,17,23,0.95) 100%
    );
}

/* Film grain texture */
.tc-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.tc-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 32px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    font-family: 'Courier New', monospace;
    font-size: 11px;
    letter-spacing: 2px;
}

.tc-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C9A84C, #FFD700, #C9A84C);
}

.tc-topbar-commas {
    color: #FFD700;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    animation: commaPulse 3s ease-in-out infinite;
}

.tc-topbar-status {
    color: #6b7280;
}

.tc-topbar-russ {
    color: #C9A84C;
    margin-left: auto;
    font-style: italic;
}

.tc-header-identity {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px 20px;
    gap: 16px;
}

.tc-header-identity svg {
    max-width: 100%;
    height: auto;
}

.tc-tagline-rotator {
    font-family: Georgia, serif;
    font-size: 15px;
    font-style: italic;
    color: rgba(201,168,76,0.75);
    letter-spacing: 1px;
    min-height: 24px;
    text-align: center;
    transition: opacity 0.8s ease;
}

.tc-tagline-rotator.fade-out {
    opacity: 0;
}

.tc-header-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    border-top: 1px solid rgba(201,168,76,0.1);
}

.tc-subcode {
    font-size: 11px;
    color: #00FF41;
    opacity: 0.7;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.tc-badge-unicorn {
    font-size: 11px;
    color: #7B2FBE;
    background: rgba(123,47,190,0.15);
    border: 1px solid rgba(123,47,190,0.4);
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 2px;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   COMMA TICKER
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-ticker-wrap {
    background: #0a0a0f;
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    overflow: hidden;
    white-space: nowrap;
    padding: 7px 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.tc-ticker {
    display: inline-block;
    animation: tcScroll 36s linear infinite;
}

.tc-ticker:hover {
    animation-play-state: paused;
}

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

.tc-item {
    display: inline-block;
    padding: 0 28px;
    color: #C9A84C;
}

.tc-label {
    color: #4b5563;
    margin-right: 6px;
}

.tc-val {
    color: #FFD700;
    font-weight: bold;
}

.tc-sep {
    color: rgba(201,168,76,0.3);
    margin: 0 12px;
}

.tc-commas-tick {
    color: #FFD700;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: bold;
    padding: 0 18px;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHARACTER SELECTOR STRIP
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-selector-section {
    padding: 0 0 8px;
    background: #0a0a0f;
    border-bottom: 2px solid rgba(201,168,76,0.2);
}

.tc-selector-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px 10px;
}

.tc-sel-label-text {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #00FF41;
    letter-spacing: 2px;
}

.tc-sel-hint {
    font-size: 11px;
    color: #4b5563;
    font-style: italic;
}

.tc-selector-strip {
    display: flex;
    gap: 12px;
    padding: 8px 24px 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #C9A84C #0a0a0f;
    -webkit-overflow-scrolling: touch;
}

.tc-selector-strip::-webkit-scrollbar {
    height: 3px;
}

.tc-selector-strip::-webkit-scrollbar-track {
    background: #0a0a0f;
}

.tc-selector-strip::-webkit-scrollbar-thumb {
    background: #C9A84C;
}

.tc-sel-card {
    flex: 0 0 auto;
    width: 110px;
    background: #12181f;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 8px;
    padding: 10px 8px 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tc-sel-card:hover {
    border-color: rgba(201,168,76,0.6);
    transform: translateY(-2px);
    background: #161d26;
}

.tc-sel-card.active {
    border-color: var(--char-accent, #C9A84C);
    box-shadow: 0 0 16px rgba(201,168,76,0.35), inset 0 0 12px rgba(201,168,76,0.06);
    background: #161d26;
}

.tc-sel-card-img {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto 8px;
    display: block;
    border: 2px solid rgba(201,168,76,0.2);
    transition: border-color 0.25s ease;
}

.tc-sel-card.active .tc-sel-card-img {
    border-color: var(--char-accent, #C9A84C);
}

.tc-sel-all-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0d1117, #1a2332);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
    margin: 0 auto 8px;
    border: 2px solid rgba(201,168,76,0.3);
}

.tc-sel-card-name {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-sel-card-recipes {
    font-size: 9px;
    color: #6b7280;
    margin-top: 3px;
    font-family: 'Courier New', monospace;
}

.tc-sel-card-categories {
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 2px;
    opacity: 0.85;
}

/* Bio Bar */
.tc-bio-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(201,168,76,0.04);
    border-top: 1px solid rgba(201,168,76,0.1);
    min-height: 56px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
}

.tc-bio-bar.visible {
    opacity: 1;
    max-height: 100px;
}

.tc-bio-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid var(--char-accent, #C9A84C);
    flex-shrink: 0;
}

.tc-bio-content {
    flex: 1;
}

.tc-bio-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.tc-bio-title {
    font-size: 10px;
    color: #6b7280;
    display: block;
    margin-bottom: 2px;
}

.tc-bio-quote {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #00FF41;
    font-style: italic;
}

.tc-bio-equity {
    font-size: 10px;
    color: var(--char-accent, #C9A84C);
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    padding: 3px 10px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Category Filter Bar */
.tc-category-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(201,168,76,0.03);
    border-top: 1px solid rgba(201,168,76,0.1);
}

.tc-catbar-label {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #00FF41;
    letter-spacing: 1px;
    white-space: nowrap;
}

.tc-catbar-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tc-catbar-filters::-webkit-scrollbar {
    display: none;
}

.tc-catbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 20px;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.tc-catbar-btn:hover {
    border-color: rgba(201,168,76,0.5);
    color: #C9A84C;
    background: rgba(201,168,76,0.05);
}

.tc-catbar-btn.active {
    background: rgba(201,168,76,0.15);
    border-color: #C9A84C;
    color: #FFD700;
}

.tc-catbar-icon {
    font-size: 14px;
}

.tc-catbar-text {
    font-size: 11px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RECIPE AREA
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-recipe-area {
    padding: 0 24px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.tc-recipe-area-header {
    padding: 20px 0 12px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    margin-bottom: 20px;
}

.tc-rh-all {
    color: #6b7280;
}

.tc-rh-char {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.tc-rh-sub {
    color: #6b7280;
    font-size: 11px;
}

/* Category Tabs */
.tc-category-tabs {
    display: flex;
    gap: 8px;
    padding: 0 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tc-category-tabs::-webkit-scrollbar {
    display: none;
}

.tc-cat-tab {
    padding: 6px 16px;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.2);
    color: #6b7280;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: 'Courier New', monospace;
}

.tc-cat-tab:hover {
    border-color: rgba(201,168,76,0.5);
    color: #C9A84C;
}

.tc-cat-tab.active {
    background: rgba(201,168,76,0.1);
    border-color: #C9A84C;
    color: #FFD700;
}

.tc-recipe-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LARGE FORMAT RECIPE CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-recipe-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 520px;
    background: #12181f;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.tc-recipe-card:hover {
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.tc-recipe-card.tc-filtered-out {
    display: none;
}

/* Left Panel - Character */
.tc-recipe-char-panel {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(13,17,23,0.2) 0%,
        rgba(13,17,23,0.8) 85%,
        #0d1117 100%
    );
    border-right: 1px solid rgba(201,168,76,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tc-recipe-char-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--char-accent, #C9A84C);
}

.tc-recipe-char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    flex: 1;
}

.tc-recipe-sig-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(201,168,76,0.9);
    color: #0d1117;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 4px 8px;
    border-radius: 3px;
}

.tc-recipe-card[data-is-signature="false"] .tc-recipe-sig-badge {
    background: rgba(107,114,128,0.8);
    color: #fff;
}

.tc-recipe-char-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(13,17,23,0.95), transparent);
    padding: 24px 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tc-rcs-name {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.tc-rcs-equity {
    color: var(--char-accent, #C9A84C);
    font-size: 9px;
    font-family: 'Courier New', monospace;
}

/* Right Panel - Recipe Content */
.tc-recipe-content-panel {
    position: relative;
    padding: 28px 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.tc-recipe-photo-watermark {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 180px;
    overflow: hidden;
    pointer-events: none;
}

.tc-recipe-photo-watermark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.07;
    filter: saturate(0) blur(1px);
    mask-image: linear-gradient(to bottom left, rgba(0,0,0,0.6), transparent);
    -webkit-mask-image: linear-gradient(to bottom left, rgba(0,0,0,0.6), transparent);
}

.tc-recipe-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.tc-recipe-emoji {
    font-size: 28px;
}

.tc-recipe-name {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.tc-recipe-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid;
    text-transform: uppercase;
    align-self: center;
    white-space: nowrap;
}

.tc-recipe-syntax {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #00FF41;
    opacity: 0.8;
    padding: 6px 12px;
    background: rgba(0,255,65,0.04);
    border-left: 2px solid rgba(0,255,65,0.3);
    border-radius: 0 4px 4px 0;
}

.tc-recipe-quote {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tc-rq-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2px solid var(--char-accent, #C9A84C);
    flex-shrink: 0;
}

.tc-rq-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
    border-left: 2px solid rgba(201,168,76,0.3);
    padding: 4px 12px;
    line-height: 1.6;
}

.tc-recipe-versions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tc-recipe-version {
    background: #0d1117;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.1);
}

.tc-rv-scale {
    border-color: rgba(201,168,76,0.2);
}

.tc-rv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(201,168,76,0.05);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    flex-wrap: wrap;
}

.tc-rv-label {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
}

.tc-rv-protein {
    font-size: 11px;
    background: rgba(201,168,76,0.15);
    color: #C9A84C;
    padding: 2px 8px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
}

.tc-rv-protein-high {
    background: rgba(201,168,76,0.25);
    color: #FFD700;
}

.tc-rv-time {
    font-size: 10px;
    color: #6b7280;
    margin-left: auto;
    font-family: 'Courier New', monospace;
}

.tc-rv-code {
    position: relative;
}

.tc-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(201,168,76,0.15);
    color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
    font-family: 'Courier New', monospace;
}

.tc-copy-btn:hover {
    background: rgba(201,168,76,0.3);
}

.tc-recipe-pre {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #d1d5db;
    padding: 32px 16px 16px;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TEAM & PRESS ROOM NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-secondary-nav {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    background: #0a0a0f;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.tc-secondary-nav-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(201,168,76,0.2);
    color: #6b7280;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.tc-secondary-nav-btn:hover {
    border-color: rgba(201,168,76,0.5);
    color: #C9A84C;
}

.tc-secondary-nav-btn.active {
    background: rgba(201,168,76,0.1);
    border-color: #C9A84C;
    color: #FFD700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-about-section {
    display: none;
    max-width: 100%;
}

.tc-about-section.active {
    display: block;
}

/* About Hero */
.tc-about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: linear-gradient(180deg, #0a0a0f 0%, #12181f 100%);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    text-align: center;
}

.tc-about-hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 30px rgba(201,168,76,0.3));
}

.tc-about-hero-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-about-tagline {
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
    color: #C9A84C;
}

.tc-about-est {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 2px;
}

/* Comma Tracker */
.tc-comma-tracker {
    padding: 48px 24px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tc-comma-tracker-header h2 {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 8px;
}

.tc-comma-tracker-header p {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 32px;
}

.tc-comma-tracker-visual {
    margin-bottom: 32px;
}

.tc-comma-tracker-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(201,168,76,0.2);
}

/* Comma Meter */
.tc-comma-meter {
    max-width: 600px;
    margin: 0 auto 32px;
}

.tc-comma-meter-bar {
    position: relative;
    height: 24px;
    background: #1a1f2e;
    border-radius: 12px;
    border: 1px solid rgba(201,168,76,0.3);
    overflow: visible;
}

.tc-comma-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #C9A84C, #FFD700);
    border-radius: 12px 0 0 12px;
    box-shadow: 0 0 20px rgba(255,215,0,0.4);
    transition: width 1s ease;
}

.tc-comma-milestone {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tc-milestone-dot {
    width: 16px;
    height: 16px;
    background: #1a1f2e;
    border: 2px solid #4b5563;
    border-radius: 50%;
    margin-bottom: 8px;
}

.tc-milestone-dot.achieved {
    background: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 0 12px rgba(255,215,0,0.6);
}

.tc-milestone-label {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #6b7280;
    margin-top: 28px;
}

.tc-comma-meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.tc-meter-current {
    color: #FFD700;
}

.tc-meter-target {
    color: #4b5563;
}

/* Comma Status */
.tc-comma-status {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.tc-comma-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tc-comma-stat-value {
    font-family: Georgia, serif;
    font-size: 64px;
    font-weight: bold;
    line-height: 1;
}

.tc-comma-stat-value.tc-gold {
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255,215,0,0.5);
}

.tc-comma-stat-value.tc-dim {
    color: #2a2f3e;
}

.tc-comma-stat-label {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #6b7280;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* Company Story */
.tc-about-story {
    padding: 48px 24px;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(201,168,76,0.1);
}

.tc-story-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tc-story-stamp {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
}

.tc-story-header h2 {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00FF41;
    letter-spacing: 3px;
}

/* Timeline */
.tc-story-timeline {
    position: relative;
    padding-left: 32px;
}

.tc-story-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #C9A84C, rgba(201,168,76,0.2));
}

.tc-story-event {
    position: relative;
    margin-bottom: 40px;
}

.tc-event-marker {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #12181f;
    border: 2px solid #C9A84C;
    border-radius: 50%;
}

.tc-event-marker.achieved {
    background: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 0 12px rgba(255,215,0,0.6);
}

.tc-event-time {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #C9A84C;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tc-event-content h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.tc-event-content p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 12px;
}

.tc-event-quote {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #00FF41;
    font-style: italic;
}

/* Founding Four */
.tc-founding-four {
    padding: 48px 24px;
    background: rgba(201,168,76,0.03);
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.tc-founding-header {
    text-align: center;
    margin-bottom: 32px;
}

.tc-founding-header h2 {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 8px;
}

.tc-founding-header p {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #6b7280;
}

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

.tc-founding-card {
    text-align: center;
}

.tc-founding-card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(201,168,76,0.3);
    transition: all 0.3s ease;
}

.tc-founding-card:hover .tc-founding-card-img {
    border-color: #C9A84C;
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

.tc-founding-card-label {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #6b7280;
    margin-top: 12px;
}

/* Mission Statement */
.tc-about-mission {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.tc-mission-badge {
    width: 200px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 20px rgba(201,168,76,0.3));
}

.tc-mission-content {
    flex: 1;
}

.tc-mission-content h3 {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #00FF41;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.tc-mission-text {
    font-family: Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #C9A84C;
    line-height: 1.6;
    margin-bottom: 32px;
}

.tc-mission-stats {
    display: flex;
    gap: 32px;
}

.tc-mission-stat {
    display: flex;
    flex-direction: column;
}

.tc-mstat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.tc-mstat-label {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #6b7280;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TEAM PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-team-section {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    display: none;
}

.tc-team-section.active {
    display: block;
}

/* Team Hero Banner */
.tc-team-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.tc-team-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.tc-team-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,17,23,0.3) 0%,
        rgba(13,17,23,0.5) 40%,
        rgba(13,17,23,0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
}

.tc-team-hero-content {
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.tc-team-hero-commas {
    font-family: Georgia, serif;
    font-size: 48px;
    color: #FFD700;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(255,215,0,0.4);
}

.tc-team-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 6px;
    margin: 0 0 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.tc-team-hero-subtitle {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #C9A84C;
    letter-spacing: 3px;
    margin: 0 0 20px;
}

.tc-team-hero-quote {
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin: 0 0 8px;
}

.tc-team-hero-attribution {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #6b7280;
}

/* Meet the Team Intro */
.tc-team-intro {
    text-align: center;
    padding: 48px 24px 32px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    margin-bottom: 32px;
}

.tc-team-intro-title {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00FF41;
    letter-spacing: 3px;
    margin: 0 0 8px;
}

.tc-team-intro-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Team Grid - now with padding */
.tc-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 24px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.tc-team-card {
    background: #12181f;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tc-team-card:hover {
    border-color: var(--char-accent, rgba(201,168,76,0.5));
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.tc-team-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
}

.tc-team-card-body {
    padding: 16px;
}

.tc-team-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.tc-team-card-title {
    font-size: 12px;
    color: var(--char-accent, #C9A84C);
    margin-bottom: 8px;
}

.tc-team-card-equity {
    font-size: 11px;
    color: #6b7280;
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
}

.tc-team-card-quote {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    line-height: 1.5;
    padding-left: 12px;
    border-left: 2px solid var(--char-accent, rgba(201,168,76,0.3));
}

.tc-team-card-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    color: #00FF41;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    cursor: pointer;
}

.tc-team-card-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRESS ROOM
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-press-section {
    padding: 32px 24px;
    max-width: 1000px;
    margin: 0 auto;
    display: none;
}

.tc-press-section.active {
    display: block;
}

.tc-press-header {
    text-align: center;
    margin-bottom: 40px;
}

.tc-press-header h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 8px;
}

.tc-press-header p {
    color: #6b7280;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.tc-press-release {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--char-accent, #C9A84C);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.tc-press-release-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: background 200ms ease;
}

.tc-press-release-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tc-press-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
}

.tc-press-header-content {
    flex: 1;
}

.tc-press-dateline {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--tc-text-muted);
    margin-bottom: 0.25rem;
}

.tc-press-headline {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.25rem;
}

.tc-press-preview {
    font-size: 0.85rem;
    color: var(--tc-text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.tc-press-expand {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--tc-green);
}

.tc-press-body {
    display: none;
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.tc-press-body.expanded {
    display: block;
}

.tc-press-body p {
    margin-bottom: 1rem;
}

.tc-press-filed {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--tc-green);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tc-press-symbol {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--tc-gold);
    letter-spacing: -2px;
    display: block;
    margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.tc-footer {
    background: #0a0a0f;
    border-top: 1px solid rgba(201,168,76,0.2);
    padding: 48px 24px;
    text-align: center;
}

.tc-footer-brand {
    font-family: Georgia, serif;
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 8px;
}

.tc-footer-tagline {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}

.tc-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tc-footer-links a {
    color: #C9A84C;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

.tc-footer-links a:hover {
    text-decoration: underline;
}

.tc-footer-legal {
    font-size: 11px;
    color: #4b5563;
    line-height: 1.8;
}

.tc-footer-legal p {
    margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .tc-recipe-card {
        grid-template-columns: 1fr;
        grid-template-rows: 280px auto;
        min-height: auto;
    }
    
    .tc-recipe-char-panel {
        height: 280px;
    }
    
    .tc-recipe-char-img {
        height: 280px;
    }
    
    .tc-recipe-content-panel {
        padding: 20px 18px;
    }
    
    .tc-recipe-name {
        font-size: 20px;
    }
    
    .tc-header {
        min-height: 260px;
    }
    
    .tc-header-identity svg {
        width: 280px;
    }
    
    /* About Responsive */
    .tc-founding-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tc-about-mission {
        flex-direction: column;
        text-align: center;
    }
    
    .tc-mission-badge {
        width: 150px;
    }
    
    .tc-mission-stats {
        justify-content: center;
    }
    
    .tc-comma-status {
        gap: 24px;
    }
    
    .tc-comma-stat-value {
        font-size: 48px;
    }
    
    /* Team Hero Responsive */
    .tc-team-hero {
        height: 420px;
    }
    
    .tc-team-hero-img {
        object-position: center 20%;
    }
    
    .tc-team-hero-title {
        font-size: 32px;
        letter-spacing: 4px;
    }
    
    .tc-team-hero-commas {
        font-size: 36px;
    }
    
    .tc-team-hero-quote {
        font-size: 16px;
    }
}
        height: auto;
    }
}

@media (max-width: 600px) {
    .tc-topbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 16px;
    }
    
    .tc-topbar-russ {
        margin-left: 0;
        width: 100%;
        font-size: 10px;
    }
    
    .tc-header-identity {
        padding: 24px 16px 16px;
    }
    
    .tc-header-identity svg {
        width: 240px;
    }
    
    .tc-tagline-rotator {
        font-size: 12px;
    }
    
    .tc-header-footer {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .tc-selector-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 16px 8px;
    }
    
    .tc-selector-strip {
        padding: 8px 16px 12px;
    }
    
    .tc-sel-card {
        width: 90px;
    }
    
    .tc-sel-card-img,
    .tc-sel-all-icon {
        width: 60px;
        height: 60px;
    }
    
    .tc-bio-bar {
        flex-direction: column;
        text-align: center;
        padding: 12px 16px;
    }
    
    .tc-bio-equity {
        margin-top: 8px;
    }
    
    /* Category Bar Mobile */
    .tc-category-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 16px;
    }
    
    .tc-catbar-btn {
        padding: 5px 10px;
    }
    
    .tc-catbar-text {
        font-size: 10px;
    }
    
    .tc-recipe-area {
        padding: 0 16px 32px;
    }
    
    .tc-recipe-card {
        grid-template-rows: 220px auto;
    }
    
    .tc-recipe-char-panel {
        height: 220px;
    }
    
    .tc-recipe-header {
        flex-wrap: wrap;
    }
    
    .tc-recipe-name {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .tc-recipe-syntax {
        font-size: 10px;
    }
    
    .tc-rv-header {
        padding: 8px 12px;
    }
    
    .tc-recipe-pre {
        font-size: 11px;
        padding: 28px 12px 12px;
    }
    
    .tc-press-release-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* About Mobile */
    .tc-about-hero {
        padding: 40px 16px;
    }
    
    .tc-about-hero-logo {
        max-width: 280px;
    }
    
    .tc-about-tagline {
        font-size: 16px;
    }
    
    .tc-comma-tracker {
        padding: 32px 16px;
    }
    
    .tc-comma-tracker-header h2 {
        font-size: 20px;
    }
    
    .tc-comma-status {
        gap: 16px;
    }
    
    .tc-comma-stat-value {
        font-size: 36px;
    }
    
    .tc-story-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tc-founding-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .tc-mission-text {
        font-size: 18px;
    }
    
    .tc-mission-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* Team Hero Mobile */
    .tc-team-hero {
        height: 360px;
    }
    
    .tc-team-hero-img {
        object-position: center 25%;
    }
    
    .tc-team-hero-title {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .tc-team-hero-commas {
        font-size: 28px;
    }
    
    .tc-team-hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .tc-team-hero-quote {
        font-size: 14px;
    }
    
    .tc-team-hero-attribution {
        font-size: 10px;
    }
    
    .tc-team-intro {
        padding: 32px 16px 24px;
    }
}

@media (max-width: 480px) {
    .tc-header-identity svg {
        width: 200px;
    }
    
    .tc-team-grid {
        grid-template-columns: 1fr;
    }
    
    .tc-team-hero {
        height: 320px;
    }
    
    .tc-team-hero-img {
        object-position: center 25%;
    }
    
    .tc-team-hero-title {
        font-size: 20px;
    }
    
    .tc-team-hero-overlay {
        padding-bottom: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

.hidden {
    display: none !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--tc-dark-2);
}

::-webkit-scrollbar-thumb {
    background: var(--tc-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tc-gold-light);
}

/* Selection */
::selection {
    background: var(--tc-gold);
    color: var(--tc-dark);
}

/* Print */
@media print {
    .tc-header,
    .tc-ticker-wrap,
    .tc-selector-section,
    .tc-secondary-nav,
    .tc-footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .tc-recipe-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}
