/* ================================================================ FINAL PROTOTYPE — Engine Room top + Living Map content Color System: Blue (#276EF1) = Digital / Code / Systems Green (#06C167) = Physical / Maps / Routes Orange (#FF6D00) = Marketplace / Bridge / Handshake ================================================================ */ /* Uber Move Fonts */ @font-face { font-family: 'Uber Move'; src: url('https://d1a3f4spazzrp4.cloudfront.net/dotcom-assets/fonts/UberMove-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; } @font-face { font-family: 'Uber Move Text'; src: url('https://uber-common-public.s3-us-west-2.amazonaws.com/design-platform/UberMoveText-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'Uber Move Text'; src: url('https://d1a3f4spazzrp4.cloudfront.net/dotcom-assets/fonts/UberMoveText-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'Uber Move Text'; src: url('https://d1a3f4spazzrp4.cloudfront.net/dotcom-assets/fonts/UberMoveText-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; } @font-face { font-family: 'UberMoveMono'; src: url('https://d1a3f4spazzrp4.cloudfront.net/dotcom-assets/fonts/UberMoveMono-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; } :root { /* Base Design System — Dark Mode Primitives */ --black: #000000; --white: #FFFFFF; --green: #06C167; --blue: #276EF1; --orange: #FF6D00; --purple: #7B00D5; --gray-100: #DEDEDE; /* gray/900Dark — contentPrimary */ --gray-300: #8C8C8C; /* gray/600Dark — contentSecondary */ --gray-400: #A0A0A0; /* gray/500Dark — between secondary and tertiary */ --gray-500: #767676; /* gray/400Dark — tertiary; bumped from #5D5D5D for 4.5:1 AA on black */ --gray-700: #383838; /* gray/200Dark */ --gray-800: #292929; /* gray/100Dark */ --gray-900: #161616; /* gray/50Dark — backgroundPrimary */ /* Surface aliases */ --surface-primary: #000000; --surface-secondary: #0D0D0D; --surface-elevated: #161616; --surface-card: #161616; --line-blueprint: #1E3A5F; --accent-digital: #276EF1; --accent-physical: #06C167; --accent-marketplace: #FF6D00; --text-primary: #DEDEDE; /* gray/900Dark */ --text-secondary: #8C8C8C; /* gray/600Dark */ --text-code: #A8D8EA; /* Tint tokens — soft overlays (white-on-dark for dark theme) */ --tint-3: rgba(255,255,255,0.03); --tint-5: rgba(255,255,255,0.05); --tint-12: rgba(255,255,255,0.12); --tint-25: rgba(255,255,255,0.25); --tint-50: rgba(255,255,255,0.50); /* Scrim tokens — opaque blurred panels (dark-on-light surfaces) */ --scrim-soft: rgba(0,0,0,0.3); /* metric pill on hero */ --scrim-nav: rgba(0,0,0,0.7); /* fixed nav bar */ --scrim-nav-strong: rgba(0,0,0,0.9); /* nav after scroll */ --scrim-button: rgba(0,0,0,0.8); /* back-to-top button */ --scrim-strong: rgba(0,0,0,0.95); /* mobile menu */ --scrim-overlay: rgba(0,0,0,0.5); /* mobile menu backdrop */ /* Base border token (dark) */ --border-transparent: var(--tint-12); /* Fonts */ --font-sans: 'Uber Move Text', -apple-system, BlinkMacSystemFont, sans-serif; --font-display: 'Uber Move', -apple-system, BlinkMacSystemFont, sans-serif; --font-mono: 'UberMoveMono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; --nav-height: 64px; /* Easings */ --ease-digital: cubic-bezier(0.16, 1, 0.3, 1); --ease-physical: cubic-bezier(0.33, 1, 0.68, 1); } /* ================================================================ Light theme — Palette B (uber.com clean) Pure white surfaces, true-black primary text, slightly warm secondary gray. Mirrors the styling of www.uber.com. ================================================================ */ :root[data-theme="light"] { /* Page surfaces */ --black: #FFFFFF; /* page bg (was #000) */ --gray-900: #FAFAFA; /* card bg — subtle warm off-white */ --gray-800: #F4F4F4; /* elevated surface */ --gray-700: #E0E0E0; /* borders / dividers */ /* Text */ --white: #000000; /* primary text (was #FFF) */ --gray-100: #000000; /* contentPrimary — pure black like uber.com */ --gray-300: #545454; /* contentSecondary */ --gray-400: #595959; /* between secondary and tertiary */ --gray-500: #6B6B6B; /* gray/400 */ /* Surfaces & semantic aliases */ --surface-primary: #FFFFFF; --surface-secondary: #F4F4F4; --surface-elevated: #FAFAFA; --surface-card: #FAFAFA; --line-blueprint: #B8D2F0; --text-primary: #000000; --text-secondary: #545454; --text-code: #1A4F7A; /* Tint overlays — slightly stronger to hold against pure white */ --tint-3: rgba(0,0,0,0.04); --tint-5: rgba(0,0,0,0.07); --tint-12: rgba(0,0,0,0.12); --tint-25: rgba(0,0,0,0.22); --tint-50: rgba(0,0,0,0.45); /* Scrims invert too — these become near-white blur panels */ --scrim-soft: rgba(255,255,255,0.6); --scrim-nav: rgba(255,255,255,0.8); --scrim-nav-strong: rgba(255,255,255,0.95); --scrim-button: rgba(255,255,255,0.9); --scrim-strong: rgba(255,255,255,0.97); --scrim-overlay: rgba(0,0,0,0.4); --border-transparent: rgba(0,0,0,0.10); } /* Primary CTA: keep the text literally white on the blue button regardless of theme — `var(--white)` flips to dark in light mode and looks harsh on the saturated blue. */ :root[data-theme="light"] .btn-primary { color: #FFFFFF; } /* Blueprint grid: dark navy lines look too prominent on white bg. Soften them in light mode. */ :root[data-theme="light"] .blueprint-grid { background-image: linear-gradient(rgba(30, 58, 95, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 95, 0.035) 1px, transparent 1px), linear-gradient(rgba(30, 58, 95, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 95, 0.018) 1px, transparent 1px); } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: var(--font-sans); background: var(--black); color: var(--white); overflow-x: hidden; line-height: 1.5; transition: background 0.3s ease, color 0.3s ease; } a { color: inherit; text-decoration: none; } img { max-width: 100%; display: block; } /* Skip link — visually hidden until focused; appears top-left for keyboard users. */ .skip-link { position: absolute; top: 8px; left: 8px; padding: 8px 16px; background: var(--accent-digital); color: #FFFFFF; font-weight: 600; border-radius: 6px; z-index: 1000; transform: translateY(-200%); transition: transform 0.15s; } .skip-link:focus { transform: translateY(0); outline: 2px solid var(--white); outline-offset: 2px; } /* Visible keyboard focus indicators (a11y). Mouse clicks don't trigger :focus-visible. */ a:focus-visible, button:focus-visible, .theme-toggle:focus-visible, .nav-hamburger:focus-visible, .careers-loc:focus-visible, .oss-scroll:focus-visible, .oss-scroll-track:focus-visible { outline: 2px solid var(--accent-digital); outline-offset: 2px; border-radius: 4px; } /* Don't draw a focus ring on programmatic-focus targets used by the skip link. */ main:focus, section:focus { outline: none; } /* OSS cards live inside an overflow:auto scroller that clips vertically. Use an inset outline so the focus ring isn't cut off at the top edge of the scroll container. */ .oss-card:focus-visible { outline-offset: -2px; } .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; } /* ============ BLUEPRINT GRID (Engine Room) ============ */ .blueprint-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(30, 58, 95, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 95, 0.06) 1px, transparent 1px), linear-gradient(rgba(30, 58, 95, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 95, 0.03) 1px, transparent 1px); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; background-position: center center; transition: background-position 0.1s linear; } /* ============ NAV (Engine Room) ============ */ .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 40px; height: 64px; display: flex; align-items: center; background: var(--scrim-nav); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-transparent); transition: background 0.3s; } .nav.scrolled { background: var(--scrim-nav-strong); } .nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1400px; margin: 0 auto; } .nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); } .nav-logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; } .nav-logo-eng { font-weight: 400; opacity: 0.7; } .nav-links { display: flex; gap: 32px; margin-left: auto; } .nav-link { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; position: relative; } .nav-link:hover { color: var(--text-primary); } .nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent-digital); transition: width 0.3s var(--ease-digital); } .nav-link:hover::after { width: 100%; } .nav-link.active { color: var(--text-primary); } .nav-link.active::after { width: 100%; } /* Hamburger button */ .nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; z-index: 101; flex-direction: column; gap: 5px; } .nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; } .nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav-hamburger.active span:nth-child(2) { opacity: 0; } .nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* ============ THEME TOGGLE ============ */ .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: 16px; background: transparent; border: 1px solid var(--border-transparent); border-radius: 8px; color: var(--text-secondary); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; } .theme-toggle:hover { color: var(--text-primary); border-color: var(--tint-25); background: var(--tint-5); } .theme-toggle .theme-icon-sun { display: none; } .theme-toggle .theme-icon-moon { display: block; } :root[data-theme="light"] .theme-toggle .theme-icon-sun { display: block; } :root[data-theme="light"] .theme-toggle .theme-icon-moon { display: none; } /* ============ HERO (Engine Room) ============ */ .hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 100px 40px 60px; overflow: hidden; z-index: 1; } #heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; } .hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; } .hero-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent-digital); margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s var(--ease-digital) 0.3s forwards; } .hero-headline { font-family: var(--font-display); font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s var(--ease-digital) 0.5s forwards; } .hero-accent { display: inline-block; margin-top: 0.3em; } .hero-sub { font-family: var(--font-mono); font-size: 16px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 60px; max-width: 680px; opacity: 0; animation: fadeUp 0.8s var(--ease-digital) 0.7s forwards; } .hero-scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.1em; opacity: 0; animation: fadeUp 0.8s var(--ease-digital) 1s forwards, pulse 2s ease-in-out 2s infinite; } .hero-metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1000px; width: 100%; margin-top: 40px; background: var(--tint-5); border: 1px solid var(--border-transparent); border-radius: 2px; opacity: 0; animation: fadeUp 0.8s var(--ease-digital) 1.2s forwards; overflow: hidden; } .hero-metrics::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 40%, rgba(160,191,248,0.35) 0%, transparent 40%), radial-gradient(circle at 55% 60%, rgba(160,191,248,0.25) 0%, transparent 35%), radial-gradient(circle at 85% 30%, rgba(160,191,248,0.30) 0%, transparent 30%), radial-gradient(circle at 35% 70%, rgba(160,191,248,0.20) 0%, transparent 25%), radial-gradient(circle at 70% 50%, rgba(160,191,248,0.25) 0%, transparent 30%); animation: statsPings 4s ease-in-out infinite alternate; pointer-events: none; z-index: 0; } @keyframes statsPings { 0% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.02); } 100% { opacity: 0.6; transform: scale(0.98); } } .hero-metric { padding: 24px 20px; text-align: center; background: var(--scrim-soft); position: relative; z-index: 1; } .hero-metric-value { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; } .hero-metric-label { font-size: 13px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono); } /* ============ SECTION COMMON (Engine Room) ============ */ .section-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--accent-digital); margin-bottom: 16px; } .section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.75rem; line-height: 1.3; } .section-sub { font-size: 16px; color: var(--text-secondary); max-width: 600px; line-height: 1.5; } .code { color: var(--text-code); font-family: var(--font-mono); } /* ============ TICKER (Living Map) ============ */ .ticker-section { border-top: 1px solid var(--border-transparent); border-bottom: 1px solid var(--border-transparent); overflow: hidden; padding: 0.75rem 0; position: relative; z-index: 1; } .ticker-track { overflow: hidden; } .ticker-content { display: flex; align-items: center; gap: 1.5rem; white-space: nowrap; animation: ticker-scroll 140s linear infinite; font-family: var(--font-mono); font-size: 0.8rem; color: var(--gray-500); width: max-content; } /* WCAG 2.2.2 — moving content >5s must be pausable. Pause on hover (mouse) or focus-within (keyboard) so users can read items or interact with them. */ .ticker-content:hover, .ticker-content:focus-within { animation-play-state: paused; } @keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } .ticker-item { display: flex; align-items: center; gap: 0.5rem; color: inherit; text-decoration: none; transition: color 0.2s ease; } a.ticker-item:hover { color: var(--white); } .ticker-badge { font-size: 0.6rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 4px; letter-spacing: 0.05em; border: 1px solid var(--blue); background: transparent; color: var(--blue); transition: background 0.2s ease, color 0.2s ease; } a.ticker-item:hover .ticker-badge { background: var(--blue); color: var(--white); } .ticker-sep { color: var(--gray-700); } /* ============ SECTIONS (Living Map content) ============ */ .section { padding: 3.5rem 0; position: relative; z-index: 1; } .section-header { text-align: left; margin-bottom: 2rem; } .section-subtitle { font-family: var(--font-mono); font-size: 1rem; color: var(--gray-300); max-width: 680px; } .section-cta { text-align: center; margin-top: 3rem; } /* Buttons */ .btn { display: inline-flex; align-items: center; padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); border: none; letter-spacing: 0.01em; } .btn-primary { background: var(--blue); color: var(--white); } .btn-primary:hover { background: #4388F4; transform: translateY(-1px); } .btn-outline { background: transparent; color: var(--white); border: 1px solid var(--tint-25); } .btn-outline:hover { border-color: var(--tint-50); background: var(--tint-5); } /* ============ BLOG WITH TABBED FILTERS ============ */ /* ---- News Section ---- */ .section-news { background: var(--black); } .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } a.news-card, a.news-card:visited { color: inherit; text-decoration: none; } .news-card { display: flex; flex-direction: column; background: var(--black); border: none; border-radius: 8px; overflow: hidden; transition: all 0.3s; position: relative; } .news-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .news-card:hover { transform: translateY(-3px); } .news-card:hover::before { opacity: 1; } .news-img { width: 100%; height: 180px; object-fit: cover; } .news-body { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; flex-grow: 1; } .news-card--no-img .news-body { padding-top: 2rem; } .news-title { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.75rem; } .news-excerpt { font-size: 0.85rem; color: var(--gray-300); line-height: 1.5; flex-grow: 1; margin-bottom: 1.25rem; } .news-link { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--white); } .news-card:hover .news-link { text-decoration: underline; } @media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } } .section-blog { background: var(--black); } /* Category selector cards (mirrors "How We Build" value-cards, clickable) */ .blogcat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; margin-bottom: 3rem; } .blogcat-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.25rem; background: var(--black); border: 1px solid transparent; border-radius: 8px; transition: all 0.3s; position: relative; overflow: hidden; cursor: pointer; font-family: inherit; color: inherit; } .blogcat-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .blogcat-card:hover::before { opacity: 1; } .blogcat-card.active { border-color: var(--blue); background: var(--tint-5); } .blogcat-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; } .blogcat-icon { display: flex; align-items: center; justify-content: center; height: 28px; margin-bottom: 1rem; } .blogcat-title { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; } .blogcat-desc { display: block; font-size: 0.8rem; color: var(--gray-300); line-height: 1.5; } .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .blog-card { position: relative; background: var(--black); border: none; border-radius: 8px; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); overflow: hidden; cursor: pointer; opacity: 0; transform: translateY(20px); text-decoration: none; color: inherit; } .blog-card-img { width: 100%; height: 160px; object-fit: cover; } .blog-card-body { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; flex-grow: 1; } .blog-card.visible { opacity: 1; transform: translateY(0); } .blog-card.hidden { display: none; } .blog-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .blog-card:hover { transform: translateY(-4px); } .blog-card:hover::before { opacity: 1; } .blog-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .blog-card-category { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: var(--cat-color, var(--blue)); letter-spacing: 0.08em; text-transform: uppercase; } .blog-card-time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gray-500); } .blog-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.75rem; letter-spacing: 0.3px; } .blog-card-excerpt { font-size: 0.9rem; color: var(--gray-300); line-height: 1.5; margin-bottom: 1.5rem; flex-grow: 1; } .blog-card-link { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--white); transition: opacity 0.2s; margin-top: auto; } .blog-card:hover .blog-card-link { opacity: 0.7; } /* ============ RESEARCH ============ */ .section-research { background: var(--black); } .research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .research-card { background: var(--black); border: none; border-radius: 8px; padding: 2rem; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); cursor: pointer; text-decoration: none; color: inherit; position: relative; overflow: hidden; } .research-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .research-card:hover { transform: translateY(-4px); } .research-card:hover::before { opacity: 1; } .research-venue { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; } .research-title { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.75rem; letter-spacing: 0.3px; } .research-excerpt { font-size: 0.9rem; color: var(--gray-300); line-height: 1.5; margin-bottom: 1.5rem; flex-grow: 1; } .research-link { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--white); transition: opacity 0.2s; margin-top: auto; } .research-card:hover .research-link { opacity: 0.7; } @media (max-width: 1024px) { .research-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .research-grid { grid-template-columns: 1fr; } } /* ============ OPEN SOURCE (Living Map) ============ */ .section-oss { background: var(--black); } .oss-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2rem; padding: 0 2rem; scrollbar-width: none; cursor: grab; } .oss-scroll::-webkit-scrollbar { display: none; } .oss-track { display: flex; gap: 1.25rem; padding-bottom: 1rem; width: max-content; } a.oss-card, a.oss-card:visited { color: inherit; text-decoration: none; } .oss-card { display: block; width: 300px; flex-shrink: 0; background: var(--black); border: none; border-radius: 8px; padding: 2rem; transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden; } .oss-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .oss-card:hover { transform: translateY(-3px); } .oss-card:hover::before { opacity: 1; } .oss-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; } .oss-name { font-size: 1.15rem; font-weight: 700; } .oss-lang { font-family: var(--font-mono); font-size: 0.65rem; padding: 0.2rem 0.6rem; background: var(--border-transparent); border-radius: 100px; color: var(--gray-300); } .oss-desc { font-size: 0.85rem; color: var(--gray-300); line-height: 1.5; margin-bottom: 1.25rem; } .oss-stats { display: flex; gap: 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--gray-500); } .oss-stars::before { content: '\2605 '; color: #FFC043; } .oss-scroll-indicator { margin-top: 1.5rem; padding: 0 2rem; } .oss-scroll-track { height: 8px; background: var(--tint-12); border-radius: 4px; position: relative; cursor: pointer; } .oss-scroll-thumb { height: 100%; width: 20%; background: var(--gray-500); border-radius: 4px; transition: transform 0.15s ease, background 0.2s ease; } .oss-scroll-track:hover .oss-scroll-thumb { background: var(--text-primary); } /* ============ THE PULSE (Living Map) ============ */ .section-pulse { background: var(--black); border-top: 1px solid var(--tint-5); border-bottom: 1px solid var(--tint-5); padding: 3.5rem 0; position: relative; overflow: hidden; } .section-pulse::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 30%, rgba(160,191,248,0.25) 0%, transparent 35%), radial-gradient(circle at 30% 70%, rgba(160,191,248,0.18) 0%, transparent 30%), radial-gradient(circle at 50% 40%, rgba(160,191,248,0.22) 0%, transparent 35%), radial-gradient(circle at 70% 65%, rgba(160,191,248,0.25) 0%, transparent 30%), radial-gradient(circle at 90% 35%, rgba(160,191,248,0.18) 0%, transparent 25%); animation: statsPings 4s ease-in-out infinite alternate; pointer-events: none; } .pulse-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 3rem; text-align: center; } .pulse-number { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; } .pulse-label { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gray-300); margin-top: 0.3rem; display: block; } /* ============ VALUES (Living Map) ============ */ .section-values { background: var(--black); } .values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } .value-card { text-align: center; padding: 2rem 1.25rem; background: var(--black); border: none; border-radius: 8px; transition: all 0.3s; position: relative; overflow: hidden; } .value-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .value-card:hover::before { opacity: 1; } .value-icon { margin-bottom: 1rem; } .value-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; } .value-desc { font-size: 0.8rem; color: var(--gray-300); line-height: 1.5; } /* ============ CAREERS (Living Map) ============ */ .section-careers { background: var(--gray-900); } .careers-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } .careers-locations { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; } .careers-loc { font-family: var(--font-mono); font-size: 0.7rem; padding: 0.3rem 0.8rem; background: var(--tint-5); border-radius: 100px; color: var(--gray-300); text-decoration: none; transition: background 0.2s, color 0.2s; } .careers-loc:hover { background: var(--tint-12); color: var(--white); } .careers-roles { display: flex; flex-direction: column; gap: 1rem; } a.role-card, a.role-card:visited { color: inherit; text-decoration: none; display: block; } .role-card { background: var(--tint-3); border: none; border-radius: 8px; padding: 1.25rem 1.5rem; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; } .role-card::before { content: ''; position: absolute; inset: 0; background: var(--tint-5); opacity: 0; transition: opacity 0.3s; pointer-events: none; } .role-card:hover { transform: translateX(4px); } .role-card:hover::before { opacity: 1; } .role-team { font-family: var(--font-mono); font-size: 0.65rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; } .role-title { font-size: 0.95rem; font-weight: 600; margin: 0.3rem 0 0.4rem; } .role-desc { font-size: 0.8rem; color: var(--gray-400); line-height: 1.5; margin-bottom: 0.6rem; } .role-cta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue); font-weight: 600; } .role-card:hover .role-cta { text-decoration: underline; } /* ============ FOOTER (Living Map) ============ */ .footer { position: relative; background: var(--black); border-top: 1px solid var(--border-transparent); padding: 4rem 0 2rem; overflow: hidden; z-index: 1; } #footerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.15; pointer-events: none; } .footer-inner { position: relative; z-index: 1; } .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 3rem; } .footer-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-300); margin-bottom: 1rem; } .footer-col a { display: block; font-size: 0.85rem; color: var(--gray-500); padding: 0.25rem 0; transition: color 0.2s; } .footer-col a:hover { color: var(--white); } .footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-transparent); padding-top: 2rem; margin-top: 1rem; } .footer-socials { display: flex; gap: 1.25rem; } .footer-socials a { color: var(--gray-400); transition: color 0.2s; } .footer-socials a:hover { color: var(--white); } .footer-socials svg { width: 22px; height: 22px; } .footer-legal { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; margin-top: 1rem; border-top: 1px solid var(--border-transparent); } .footer-legal-links { display: flex; gap: 1.5rem; } .footer-legal-links a { font-size: 0.75rem; color: var(--gray-500); transition: color 0.2s; } .footer-legal-links a:hover { color: var(--white); } .footer-copy { font-size: 0.75rem; color: var(--gray-500); } /* ============ BACK TO TOP ============ */ .back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border-transparent); background: var(--scrim-button); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s, color 0.2s, border-color 0.2s; transform: translateY(8px); z-index: 90; } .back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); } .back-to-top:hover { color: var(--text-primary); border-color: var(--tint-25); } /* ============ SPARKLE STAR FIELD ============ */ .sparkle-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; } .sparkle-field-wrapper { position: relative; } .sparkle { position: absolute; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 0l2.5 9.5L24 12l-9.5 2.5L12 24l-2.5-9.5L0 12l9.5-2.5z'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; animation: sparkle-twinkle var(--sparkle-duration, 3s) var(--sparkle-delay, 0s) ease-in-out infinite; } .sparkle--dot { background: none; border-radius: 50%; background-color: rgba(255, 255, 255, 0.8); } @keyframes sparkle-twinkle { 0%, 100% { opacity: 0; transform: scale(0.3); } 40% { opacity: var(--sparkle-opacity, 0.7); transform: scale(1); } 60% { opacity: var(--sparkle-opacity, 0.5); transform: scale(0.85); } } /* ============ LENIS SMOOTH SCROLL ============ */ html.lenis, html.lenis body { height: auto; } .lenis.lenis-smooth { scroll-behavior: auto !important; } .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } .lenis.lenis-stopped { overflow: hidden; } /* ============ ANIMATIONS ============ */ @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } } /* ============ RESPONSIVE ============ */ @media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } .values-grid { grid-template-columns: repeat(3, 1fr); } .blogcat-grid { grid-template-columns: repeat(3, 1fr); } .careers-inner { grid-template-columns: 1fr; gap: 2.5rem; } } @media (max-width: 768px) { /* Hamburger nav */ .nav-hamburger { display: flex; } .nav { padding: 0 20px; } .nav-links { position: fixed; top: 0; right: 0; width: 260px; height: 100vh; background: var(--scrim-strong); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); flex-direction: column; padding: 80px 32px 40px; gap: 0; transform: translateX(100%); transition: transform 0.35s var(--ease-digital); border-left: 1px solid var(--border-transparent); z-index: 100; } .nav-links.open { transform: translateX(0); } .nav-link { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-transparent); } .nav-link::after { display: none; } /* Overlay when menu open */ .nav-overlay { display: none; position: fixed; inset: 0; background: var(--scrim-overlay); z-index: 99; } .nav-overlay.visible { display: block; } /* Hero */ .hero { padding: 80px 20px 40px; } .hero-headline { font-size: clamp(24px, 6vw, 36px); } .hero-metrics { grid-template-columns: repeat(2, 1fr); } .hero-metric-value { font-size: 30px; } /* Grids */ .container { padding: 0 1rem; } .section { padding: 4rem 0; } .blog-grid { grid-template-columns: 1fr; } .news-grid { grid-template-columns: 1fr; } .values-grid { grid-template-columns: repeat(2, 1fr); } .blogcat-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; } .footer-legal { flex-direction: column; gap: 8px; text-align: center; } /* Pulse */ .pulse-grid { gap: 2rem; } } @media (max-width: 480px) { .hero-metrics { grid-template-columns: 1fr; } .hero-metric { padding: 16px; } .values-grid { grid-template-columns: 1fr; } .blogcat-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .section-header { margin-bottom: 2rem; } .pulse-grid { flex-direction: column; gap: 1.5rem; } } /* ============ REDUCED MOTION ============ */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.1s !important; transition-duration: 0.1s !important; } /* Exception: the ticker is an infinite marquee — forcing it to 0.1s makes it an unreadable blur (more motion, not less). Keep it slow; it already pauses on hover/focus to satisfy WCAG 2.2.2. */ .ticker-content { animation-duration: 140s !important; } }