:root { --bg0: #0b1020; --bg1: #0f1b38; --fg: #f2f4ff; --muted: rgba(242, 244, 255, 0.72); --card: rgba(255, 255, 255, 0.06); --card2: rgba(255, 255, 255, 0.1); --stroke: rgba(255, 255, 255, 0.16); --accent: #ffcd4a; --accent2: #5ee4ff; --focus: rgba(94, 228, 255, 0.95); } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; color: var(--fg); background: linear-gradient(180deg, var(--bg0), var(--bg1)); /* Prefer a display-friendly font if available; fall back to system fonts. */ font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji"; } /* Oversized fixed background layer to avoid gradient cutoffs on large screens. */ body::before { content: ""; position: fixed; inset: -40vmax; z-index: -1; pointer-events: none; background: radial-gradient(1200px 800px at 10% 10%, rgba(94, 228, 255, 0.22), transparent 60%), radial-gradient(1100px 800px at 90% 20%, rgba(255, 205, 74, 0.18), transparent 58%), radial-gradient(1200px 900px at 30% 90%, rgba(140, 88, 255, 0.14), transparent 62%); } a { color: inherit; text-decoration: none; } /* WCAG-ish baseline: make keyboard focus obvious. */ a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; } .skip-link { position: absolute; left: 14px; top: 12px; z-index: 999; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(10, 14, 28, 0.92); color: var(--fg); font-weight: 800; transform: translateY(-220%); transition: transform 140ms ease; } .skip-link:focus { transform: translateY(0); } .container { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 72px; } .site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgba(10, 14, 28, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; } .brand { font-weight: 800; letter-spacing: -0.02em; font-size: 18px; } .nav { display: flex; gap: 16px; font-weight: 600; color: var(--muted); } .nav a { padding: 10px 12px; border-radius: 999px; } .nav a:hover { color: var(--fg); } .nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: var(--fg); } .nav-toggle-icon { width: 18px; height: 12px; position: relative; display: block; } .nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 999px; background: rgba(242, 244, 255, 0.92); } .nav-toggle-icon::before { top: 0; box-shadow: 0 5px 0 rgba(242, 244, 255, 0.92); } .nav-toggle-icon::after { bottom: 0; } @media (max-width: 760px) { .site-header { position: sticky; } .nav-toggle { display: inline-flex; } .nav { position: absolute; top: calc(100% + 10px); right: 14px; width: min(86vw, 320px); padding: 10px; display: flex; flex-direction: column; gap: 6px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(10, 14, 28, 0.92); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) inset; transform-origin: top right; transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms; } .nav[data-open="false"] { opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none; visibility: hidden; } .nav[data-open="true"] { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; visibility: visible; transition: opacity 160ms ease, transform 160ms ease, visibility 0s; } .nav a { padding: 12px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; } } .subnav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted); } .subnav a { padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); font-weight: 700; font-size: 13px; } .subnav a.active { color: var(--fg); border-color: rgba(94, 228, 255, 0.35); box-shadow: 0 0 0 3px rgba(94, 228, 255, 0.08); } .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } /* blog cards are now rendered via the shared `.card` component styles */ .prose { line-height: 1.75; color: rgba(242, 244, 255, 0.9); } .prose a { text-decoration: underline; } .prose img { max-width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); } .site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 24px; text-align: center; } .muted { color: var(--muted); } .hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; padding: 28px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04); border-radius: 18px; } .hero h1 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1.05; } .hero p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); } .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; } .cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--stroke); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); font-weight: 800; letter-spacing: -0.01em; } .cta.primary { border-color: rgba(255, 205, 74, 0.45); box-shadow: 0 0 0 3px rgba(255, 205, 74, 0.1); } .cta:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)); } .section { margin-top: 28px; } .section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; } .section h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; } .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; } .card { display: flex; flex-direction: column; height: 100%; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); overflow: hidden; transition: transform 120ms ease, background 120ms ease; } button.card { padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; } .card-media { flex: 0 0 auto; } .card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.06); } .card-media .img-shimmer-wrap { width: 100%; height: 180px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .card-media img { width: 100%; height: 180px; object-fit: cover; display: block; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .card-placeholder { width: 100%; height: 180px; background: rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.08); } /* --- Image shimmer / lazy-load placeholder --- */ @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .img-shimmer-wrap { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.08); } .img-shimmer-wrap::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.12) 65%, transparent 100% ); animation: shimmer 1.6s ease-in-out infinite; } .img-shimmer-wrap img { position: relative; z-index: 2; } .img-shimmer-wrap img.img-loading { opacity: 0 !important; } .img-shimmer-wrap img.img-loaded { opacity: 1; transition: opacity 250ms ease; } .img-shimmer-wrap.img-error::before { animation: none; } .img-shimmer-wrap.img-loaded::before { display: none; } /* --- End image shimmer --- */ .card-body { display: flex; flex: 1; flex-direction: column; padding: 0; } .card-content { flex: 1; padding: 12px 12px 12px; background: linear-gradient(180deg, rgba(15, 27, 56, 0.75), rgba(11, 16, 32, 0.32)); } .card-title { margin: 0 0 8px; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; } .card-summary { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; } .card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(11, 16, 32, 0.45); font-size: 12px; } .card-footer .card-views { flex: 1; text-align: center; } .pill { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); } .pill-youtube { border-color: rgba(255, 74, 74, 0.35); } .pill-podcast { border-color: rgba(94, 228, 255, 0.35); } .pill-instagram { border-color: rgba(255, 205, 74, 0.35); } .pill-blog { border-color: rgba(140, 88, 255, 0.35); } .empty { padding: 16px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.18); color: var(--muted); background: rgba(255, 255, 255, 0.03); } .instagram-media { width: 100% !important; max-width: 100% !important; border-radius: 16px !important; overflow: hidden; } @media (max-width: 880px) { .hero { grid-template-columns: 1fr; } .grid { grid-template-columns: 1fr; } .blog-grid { grid-template-columns: 1fr; } .card-media img, .card-placeholder, .card-media .img-shimmer-wrap { height: 200px; } } /* --- Media Modal --- */ #media-modal { max-width: 800px; width: calc(100vw - 48px); max-height: 90vh; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.16); background: var(--bg1); color: var(--fg); padding: 0; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; } #media-modal::backdrop { background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); } .media-modal-content { display: flex; flex-direction: column; height: 100%; overflow-y: auto; overflow-x: hidden; } .media-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .media-modal-header-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; } .media-modal-thumb { display: none; width: 44px; height: 44px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(0, 0, 0, 0.25); } .media-modal-title-wrap { min-width: 0; } .media-modal-kicker { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; } .media-modal-title { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; } .media-modal-close { flex: 0 0 auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: var(--fg); cursor: pointer; transition: background 120ms ease, transform 120ms ease; } .media-modal-close:hover { background: rgba(255, 255, 255, 0.08); transform: scale(1.05); } .media-modal-embed-container { position: relative; width: 100%; aspect-ratio: 16 / 9; background: rgba(0, 0, 0, 0.4); } .media-modal-embed-container[data-embed-kind="spotify"], .media-modal-embed-container[data-embed-kind="audio"], .media-modal-embed-container[data-embed-kind="fallback"] { margin: 14px 24px 0; width: calc(100% - 48px); } .media-modal-embed-container[data-embed-kind="spotify"] { aspect-ratio: auto; height: 232px; background: rgba(255, 255, 255, 0.04); border-radius: 12px; overflow: hidden; } .media-modal-embed-container[data-embed-kind="audio"] { aspect-ratio: auto; height: auto; padding: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)); border-radius: 12px; overflow: hidden; } .media-modal-embed-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); z-index: 1; overflow: hidden; } .media-modal-embed-fallback { position: relative; z-index: 2; display: none; align-items: center; justify-content: center; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(10, 14, 28, 0.55); color: var(--fg); font-weight: 700; text-decoration: none; } .media-modal-embed-container[data-embed-kind="fallback"] .media-modal-embed-placeholder::before, .media-modal-embed-container[data-embed-kind="fallback"] .media-modal-embed-placeholder::after { display: none; animation: none; } .media-modal-embed-container[data-embed-kind="fallback"] .media-modal-embed-placeholder { background: rgba(255, 255, 255, 0.04); } .media-modal-embed-container[data-embed-kind="fallback"] .media-modal-embed-fallback { display: inline-flex; } .media-modal-embed-placeholder::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.12) 65%, transparent 100% ); animation: shimmer 1.6s ease-in-out infinite; } .media-modal-embed-placeholder::after { content: ""; position: relative; z-index: 2; width: 40px; height: 40px; border: 3px solid rgba(255, 255, 255, 0.2); border-top-color: var(--accent2); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .media-modal-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; } .media-modal-embed-container[data-embed-kind="spotify"] .media-modal-embed, .media-modal-embed-container[data-embed-kind="spotify"] .media-modal-embed-placeholder { border-radius: 12px; } .media-modal-audio { display: none; width: 100%; height: 44px; color-scheme: dark; accent-color: var(--accent2); } .media-modal-embed-container[data-embed-kind="audio"] .media-modal-audio { display: block; } .media-modal-audio::-webkit-media-controls-enclosure { border-radius: 12px; } .media-modal-audio::-webkit-media-controls-panel { background: rgba(10, 14, 28, 0.55); } .media-modal-body { padding: 24px; flex: 1 1 auto; } .media-modal-description { margin: 0 0 16px; line-height: 1.6; color: var(--muted); } .media-modal-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); } .media-modal-meta span:not(:last-child)::after { content: "•"; margin-left: 12px; opacity: 0.5; } .media-modal-ctas { display: flex; gap: 12px; padding: 16px 24px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); } .media-modal-ctas .cta { flex: 1; text-align: center; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--stroke); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); font-weight: 800; letter-spacing: -0.01em; transition: background 120ms ease, transform 120ms ease; } .media-modal-ctas .cta:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); } .media-modal-ctas .cta.primary { border-color: rgba(94, 228, 255, 0.55); background: linear-gradient(135deg, rgba(94, 228, 255, 0.24), rgba(255, 205, 74, 0.16)); box-shadow: 0 0 0 3px rgba(94, 228, 255, 0.14), 0 10px 30px rgba(0, 0, 0, 0.25); } @media (max-width: 760px) { #media-modal { max-width: 96vw; max-height: 94vh; width: 96vw; } .media-modal-header { padding: 16px 20px; } .media-modal-embed-container[data-embed-kind="spotify"], .media-modal-embed-container[data-embed-kind="audio"], .media-modal-embed-container[data-embed-kind="fallback"] { margin: 12px 20px 0; width: calc(100% - 40px); } .media-modal-title { font-size: 18px; } .media-modal-body { padding: 20px; } .media-modal-ctas { flex-direction: column; padding: 12px 20px 20px; } }