@import "tailwindcss"; @config "../tailwind.config.js"; @theme { /* Literal values only: var() indirection here stops Tailwind v4 from generating *-sp-* utilities. */ --spacing-sp-1: 4px; --spacing-sp-2: 8px; --spacing-sp-3: 12px; --spacing-sp-4: 16px; --spacing-sp-5: 20px; --spacing-sp-6: 24px; --spacing-sp-8: 32px; --spacing-sp-10: 40px; --spacing-sp-12: 48px; --spacing-sp-16: 64px; --spacing-sp-20: 80px; --spacing-sp-24: 96px; } :root { --ink: #0a0a0a; --ink-80: rgba(10, 10, 10, 0.8); --ink-40: rgba(10, 10, 10, 0.4); --ink-12: rgba(10, 10, 10, 0.12); --ink-06: rgba(10, 10, 10, 0.06); --paper: #f4f2ed; --paper-dark: #eceae4; --white: #ffffff; --slash: #ccff00; --slash-dim: rgba(204, 255, 0, 0.16); --meta: #4a4a4a; --border: rgba(10, 10, 10, 0.1); --border-light: rgba(10, 10, 10, 0.06); --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-full: 999px; --site-header-height: 60px; /* Escala fluida: igual ao desenho original até ~1440px e cresce nas telas grandes. */ --shell: clamp(1240px, 76vw, 1760px); --fs-section-title: min(max(clamp(24px, 4vw, 44px), 3.05vw), 68px); --fs-lead: min(max(15px, 1.05vw), 19px); --font-display: var(--font-space-grotesk), sans-serif; --font-hero: var(--font-monument-extended), sans-serif; --font-mono: var(--font-geist-mono), monospace; --font-body: var(--font-display); --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.4, 0, 1, 1); } /* Layered so Tailwind utilities (later layer) can override the zero-reset. */ @layer base { *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } a { color: inherit; } } html, body { width: 100%; max-width: 100%; overflow-x: hidden; overscroll-behavior-x: none; } html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height) + var(--sp-4)); } @media (min-width: 1280px) { :root { --site-header-height: 68px; } } .site-header-nav, .site-header-cv, .site-header-version { display: none; } .site-header-menu-toggle, .site-header-mobile-panel { display: flex; } .site-header-menu-toggle { width: 44px; height: 44px; flex: 0 0 44px; } @media (min-width: 1025px) { .site-header-nav { display: flex; } .site-header-cv, .site-header-version { display: inline-flex; } .site-header-menu-toggle, .site-header-mobile-panel { display: none; } } .skip-link { position: fixed; top: 8px; left: 16px; z-index: 10000; transform: translateY(-160%); border: 1px solid var(--slash); background: var(--ink); color: var(--white); padding: 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: transform 0.2s var(--ease-out); } .skip-link:focus { transform: translateY(0); outline: 2px solid var(--slash); outline-offset: 3px; } :where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--slash); outline-offset: 3px; } .film-grain { position: fixed; inset: 0; z-index: 9990; pointer-events: none; background: repeating-radial-gradient( circle at 20% 30%, var(--paper) 0 0.6px, transparent 0.8px 3px ), repeating-radial-gradient( circle at 70% 60%, var(--ink) 0 0.5px, transparent 0.7px 4px ); mix-blend-mode: overlay; opacity: 0.08; } @media (prefers-reduced-motion: reduce), (pointer: coarse) { .film-grain { display: none; } } body { position: relative; background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: 14px; line-height: 1.68; } img, video, canvas, svg { max-width: 100%; } /* Texto corrido em sans (leitura); a monoespacada fica nos rotulos, tags e metadados. :where() mantem especificidade zero: classes de componente e utilitarios continuam mandando. */ :where(main, footer) :where(p, li, dd) { font-family: var(--font-body); } :where( .ds-eyebrow, .ds-kicker, .ds-tag, .ds-metric, .quality-code, .quality-hint, .quality-disclaimer ) { font-family: var(--font-mono); } @supports (overflow: clip) { html, body { overflow-x: clip; } } button, input, select, textarea { font: inherit; } ::selection { background: var(--slash); color: var(--ink); } .bg-grid { background-image: linear-gradient(rgba(10, 10, 10, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 10, 10, 0.03) 1px, transparent 1px); background-size: 48px 48px; } .bg-grid-light { background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 48px 48px; } .ds-main { /* no top padding needed */ } .ds-section { padding: clamp(72px, 9vw, 112px) clamp(24px, 6vw, 64px); background: var(--paper); border-bottom: 1px solid var(--border); } .ds-section:nth-of-type(even):not(.ds-section-dark) { background: var(--paper-dark); } .ds-section-dark { background: var(--ink); border-bottom-color: rgba(255, 255, 255, 0.06); color: var(--white); } .ds-section-shell, .ds-loading, .ds-error { width: min(var(--shell), 100%); margin: 0 auto; } .ds-section-header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-6); margin-bottom: var(--sp-10); /* o cabeçalho mede a si mesmo: a mesma regra serve para qualquer largura de tela */ container-type: inline-size; } .ds-section-meta { flex: 1 1 auto; min-width: 0; max-width: 760px; /* Largo: título à esquerda, descrição à direita, alinhados pela base (some a faixa vazia ao lado do título). */ @container (min-width: 880px) { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "eyebrow eyebrow" "title lead" "line line"; column-gap: var(--sp-10); align-items: end; > .ds-eyebrow { grid-area: eyebrow; } > .ds-section-title { grid-area: title; } > .ds-section-description { grid-area: lead; max-width: 62ch; font-size: var(--fs-lead); } > .ds-draw-line { grid-area: line; } } } .ds-eyebrow, .ds-kicker { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--meta); } .ds-eyebrow { margin-bottom: var(--sp-2); } .ds-section-title { font-family: var(--font-display); font-size: var(--fs-section-title); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; } .ds-section-description { max-width: 58ch; color: rgba(10, 10, 10, 0.74); font-size: 15px; line-height: 1.7; } .ds-grid-2, .ds-grid-4 { display: grid; gap: var(--sp-6); } .ds-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* Colunas automáticas: sem breakpoint. Cabem 2 até ~1360px de largura útil e 3 acima disso. */ .ds-grid-fluid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); } .ds-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ds-card, .ds-panel { border: 1px solid var(--border); min-width: 0; } .ds-card { background: rgba(255, 255, 255, 0.92); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; } .ds-panel { background: rgba(10, 10, 10, 0.03); padding: var(--sp-5); display: flex; flex-direction: column; } .ds-card-title { font-family: var(--font-display); font-size: clamp(16px, 2.4vw, 30px); line-height: 1.08; letter-spacing: -0.025em; margin-top: var(--sp-4); } .ds-copy { margin-top: var(--sp-4); color: var(--ink-80); font-size: 16px; line-height: 1.6; flex-grow: 1; } .ds-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: auto; padding-top: var(--sp-6); } .ds-tag { padding: 8px 12px; border: 1px solid rgba(10, 10, 10, 0.12); background: rgba(10, 10, 10, 0.03); font-size: 11px; letter-spacing: 0.04em; text-transform: none; font-weight: 500; /* pílula inteira numa linha: a quebra acontece entre tags (.ds-tags wrap), nunca dentro dela */ white-space: nowrap; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; } .ds-tag:hover { border-color: rgba(10, 10, 10, 0.3); box-shadow: 0 2px 12px rgba(10, 10, 10, 0.1); } .ds-section-dark .ds-tag:hover { border-color: rgba(204, 255, 0, 0.3); box-shadow: 0 2px 16px rgba(204, 255, 0, 0.1); } .ds-metric { display: inline-flex; align-items: center; gap: var(--sp-2); color: rgba(10, 10, 10, 0.65); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; } .ds-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; /* alvo de toque minimo e mesma altura em todos os botoes */ gap: var(--sp-2); text-decoration: none; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; } .ds-link:hover { transform: translateY(-1px); } .ds-link-accent { color: var(--ink); background: var(--slash); padding: 12px 18px; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; } .ds-link-accent:hover { background: #ffffff; box-shadow: 0 0 20px rgba(204, 255, 0, 0.45), 0 0 48px rgba(204, 255, 0, 0.18); } .ds-section-dark .ds-link-accent:hover { box-shadow: 0 0 24px rgba(204, 255, 0, 0.55), 0 0 60px rgba(204, 255, 0, 0.22); } .ds-link-muted { padding: 12px 18px; border: 1px solid var(--border); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; } .ds-link-muted:hover { border-color: var(--ink-40); box-shadow: 0 4px 20px rgba(10, 10, 10, 0.12); } .ds-section-dark .ds-link-muted:hover { border-color: rgba(204, 255, 0, 0.35); box-shadow: 0 4px 20px rgba(204, 255, 0, 0.08); } .ds-list { margin-top: var(--sp-5); padding-left: 18px; font-size: 15px; line-height: 1.7; flex-grow: 1; } .ds-list li::marker { color: var(--slash); } .ds-loading, .ds-error { padding: var(--sp-10) clamp(24px, 6vw, 64px); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; } .ds-section-dark .ds-eyebrow, .ds-section-dark .ds-kicker, .ds-section-dark .ds-metric { color: rgba(255, 255, 255, 0.65); } .ds-section-dark .ds-section-description { color: rgba(255, 255, 255, 0.75); } .ds-section-dark .ds-card, .ds-section-dark .ds-panel { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); } .ds-section-dark .ds-copy, .ds-section-dark .ds-list { color: rgba(255, 255, 255, 0.74); } .ds-section-dark .ds-tag { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); } .ds-section-dark .ds-link-muted { border-color: rgba(255, 255, 255, 0.12); } .ds-draw-line { display: block; width: 100%; height: 1px; margin-top: var(--sp-4); background: linear-gradient( 90deg, rgba(10, 10, 10, 0.38) 0%, rgba(10, 10, 10, 0.06) 100% ); } .ds-section-dark .ds-draw-line { background: linear-gradient( 90deg, rgba(204, 255, 0, 0.5) 0%, rgba(204, 255, 0, 0.08) 100% ); } @keyframes ds-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } } @keyframes marquee-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } } .scroll-velocity-text { position: relative; color: inherit; } .scroll-velocity-viewport { overflow: hidden; white-space: nowrap; } .scroll-velocity-track, .scroll-velocity-group { display: flex; width: max-content; } .scroll-velocity-group { flex-shrink: 0; min-width: 100vw; } .scroll-velocity-item { display: inline-flex; align-items: center; flex-shrink: 0; font-family: var(--font-display); font-size: clamp(3rem, 10vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; } .scroll-velocity-dot { margin-inline: var(--sp-8); color: var(--slash); } .animate-marquee { animation: marquee 40s linear infinite; } .animate-marquee-reverse { animation: marquee-reverse 45s linear infinite; } .scroll-velocity-text:hover .scroll-velocity-track, .scroll-velocity-text:focus-within .scroll-velocity-track { animation-play-state: paused; } .scroll-velocity-control { position: absolute; top: var(--sp-2); right: var(--sp-3); z-index: 1; min-height: 44px; border: 1px solid var(--slash); background: var(--ink); color: var(--paper); padding-inline: var(--sp-3); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; } @media (prefers-reduced-motion: reduce) { .scroll-velocity-text { color: var(--paper); } .scroll-velocity-track { animation: none; transform: none; } .scroll-velocity-viewport { overflow: visible; white-space: normal; } .scroll-velocity-track, .scroll-velocity-group { display: block; width: 100%; } .scroll-velocity-group { min-width: 0; } .scroll-velocity-group[aria-hidden="true"] { display: none; } .scroll-velocity-item { display: block; padding: var(--sp-6); font-size: clamp(2rem, 8vw, 4rem); line-height: 1.1; white-space: normal; } .scroll-velocity-dot { display: none; } } .ds-skeleton-card { display: flex; flex-direction: column; gap: var(--sp-3); } .ds-skeleton { position: relative; overflow: hidden; border-radius: 4px; background: #111; } .ds-skeleton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111 0%, #1f1f1f 50%, #111 100%); background-size: 220% 100%; animation: ds-shimmer 1.4s linear infinite; } .ds-skeleton-kicker { height: 10px; width: 30%; } .ds-skeleton-title { height: 26px; width: 72%; } .ds-skeleton-line { height: 12px; width: 100%; } .ds-skeleton-line-short { width: 62%; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { /* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override component animation styles. */ animation-duration: 0.01ms !important; /* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override component animation styles. */ animation-iteration-count: 1 !important; /* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override component transition styles. */ transition-duration: 0.01ms !important; /* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override smooth scrolling. */ scroll-behavior: auto !important; } } @media (max-width: 1024px) { .site-header-nav, .site-header-cv, .site-header-version { display: none; } .site-header-menu-toggle, .site-header-mobile-panel { display: flex; } .ds-section-header { flex-direction: column; gap: var(--sp-4); } .ds-grid-2, .ds-grid-4 { grid-template-columns: 1fr; } } @media (max-width: 768px) { .ds-section { padding: clamp(52px, 13vw, 64px) 20px; } .ds-section-header { margin-bottom: var(--sp-8); } /* rotulos em 11-12px (antes 9-11px): legiveis no celular sem perder o estilo tecnico */ .ds-eyebrow, .ds-kicker { font-size: 11px; } .ds-tag, .ds-link { font-size: 12px; } .ds-section-title { font-size: clamp(24px, 8vw, 34px); } .ds-card-title { font-size: clamp(16px, 5vw, 24px); } .ds-section-description, .ds-copy, .ds-list { font-size: 15px; line-height: 1.65; } .ds-tags { gap: 8px; padding-top: var(--sp-5); } .ds-tag { font-size: 10px; padding: 7px 10px; } } /* ═══════════════════════════════════════════ CINEMATIC STYLES - Awwwards Level ═══════════════════════════════════════════ */ /* Section divider animations */ @keyframes shimmerDivider { 0% { transform: translateX(-100%); opacity: 0; } 50% { opacity: 0.8; } 100% { transform: translateX(100%); opacity: 0; } } @keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(2); opacity: 1; } } .section-divider { pointer-events: none; } .section-divider-gradient { position: relative; width: 100%; height: 1px; overflow: hidden; } .section-divider-gradient span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--slash), transparent); opacity: 0.3; } .section-divider-gradient span:last-child { animation: shimmerDivider 3s ease-in-out infinite; opacity: 0.6; } .section-divider-pulse { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); padding-block: var(--sp-8); } .section-divider-pulse span { width: 4px; height: 4px; border-radius: 50%; background: var(--slash); animation: pulseDot 2s ease-in-out infinite; } .section-divider-pulse span:nth-child(2) { animation-delay: 0.15s; } .section-divider-pulse span:nth-child(3) { animation-delay: 0.3s; } .section-divider-pulse span:nth-child(4) { animation-delay: 0.45s; } .section-divider-pulse span:nth-child(5) { animation-delay: 0.6s; } .section-divider-waveform { width: 100%; height: 60px; color: var(--slash); } .section-divider-waveform svg { display: block; width: 100%; height: 60px; } .section-divider-waveform path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; } .section-divider-waveform path:nth-child(1) { opacity: 0.1; } .section-divider-waveform path:nth-child(2) { opacity: 0.07; } .section-divider-waveform path:nth-child(3) { opacity: 0.04; } @media (prefers-reduced-motion: reduce) { .section-divider-gradient span:last-child, .section-divider-pulse span { animation: none; } } /* Hero: brilho de fundo e entrada em CSS (so posicao; o texto ja nasce visivel para o LCP) */ .hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 65% at 78% 38%, rgba(204, 255, 0, 0.11), transparent 70%), radial-gradient(40% 50% at 6% 92%, rgba(204, 255, 0, 0.05), transparent 70%); } /* Hero: palco de 100svh; em telas grandes ele fica fixo enquanto a rolagem conduz o mergulho da cena 3D. --hero-p (0 a 1) vem de cinematic/HeroField.tsx. */ .hero { --hero-p: 0; isolation: isolate; } .hero-stage { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; } /* Sem WebGL (ou antes de a cena carregar): malha de pontos estática no lugar das camadas */ .hero-glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(244, 242, 237, 0.22) 1px, transparent 1.5px) 0 0 / 22px 22px; mask: radial-gradient(38% 46% at 74% 50%, #000, transparent 75%); transition: opacity 1.2s var(--ease-out); } .hero:has(.hero-field[data-ready]) .hero-glow::after { opacity: 0; } .hero-field { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-out); &[data-ready] { opacity: 1; } } .hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.55) 36%, transparent 62%), linear-gradient(0deg, rgba(10, 10, 10, 0.9), transparent 28%); @media (max-width: 1023px) { background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0 30%, rgba(10, 10, 10, 0.5) 65%, rgba(10, 10, 10, 0.7)); } } /* Entrada: as palavras do título já pintam no primeiro quadro (sem opacity:0, bom para o LCP) e ganham foco em cascata */ .hero-word { display: inline-block; animation: hero-word 1.1s var(--ease-out) both; animation-delay: calc(0.12s + var(--i) * 45ms); } @keyframes hero-word { from { transform: translateY(0.42em) rotate(2deg); filter: blur(12px); } } .hero-in, .hero-foot > * { animation: hero-in 1s var(--ease-out) both; animation-delay: var(--d, 0.05s); } .hero-foot > * { --d: 0.85s; } @keyframes hero-in { from { opacity: 0; transform: translateY(18px); } } .hero-cue-line { width: 56px; height: 1px; background: currentColor; transform-origin: left; animation: hero-cue 2.4s var(--ease-out) infinite; } @keyframes hero-cue { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } } @media (min-width: 1024px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) { .hero { height: 220svh; } .hero-stage { position: sticky; top: 0; height: 100svh; } /* o texto sai de cena enquanto a câmera mergulha: sobe, encolhe e perde o foco */ .hero-content { transform: translate3d(0, calc(var(--hero-p) * -16vh), 0) scale(calc(1 - var(--hero-p) * 0.08)); transform-origin: 0 50%; opacity: calc(1 - var(--hero-p) * 2.6); filter: blur(calc(var(--hero-p) * 18px)); } .hero-foot { opacity: calc(1 - var(--hero-p) * 5); } .hero-scrim { opacity: calc(1 - var(--hero-p) * 1.4); } } @media (prefers-reduced-motion: reduce) { .hero-word, .hero-in, .hero-foot > *, .hero-cue-line { animation: none; } } /* Transições entre seções: app/components/cinematic/useCinematicScroll.ts (GSAP + Lenis). O fundo escuro aparece nas frestas enquanto uma seção entra sobre a outra. */ .ds-main { background: var(--ink); } /* Lenis controla a suavidade da rolagem: o scroll-behavior nativo brigaria com ele */ html.lenis, html.lenis body { height: auto; } html.lenis { scroll-behavior: auto; } /* Capa dos cards de projeto: captura real ou painel gerado em codigo */ .ds-cover { position: relative; flex: none; /* o card e uma coluna flex: sem isto a capa encolhe e perde a proporcao */ aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: var(--sp-5); border: 1px solid var(--border); background: var(--ink); & img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.7s var(--ease-out); } .ds-card:hover & img { transform: scale(1.035); } } .ds-section-dark .ds-cover { border-color: rgba(255, 255, 255, 0.1); } .ds-cover-fallback { display: grid; place-items: center; padding: var(--sp-4); color: var(--paper); background: radial-gradient(120% 90% at 100% 0%, var(--slash-dim), transparent 60%), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 100%, var(--ink); & .ds-cover-mark { font-family: var(--font-display); font-size: clamp(48px, 7vw, 96px); font-weight: 800; letter-spacing: -0.05em; color: var(--slash); } /* so decorativa: no celular some, para a pagina nao crescer sem informacao nova */ @media (max-width: 768px) { display: none; } } /* Cinematic card hover effect */ .ds-card { transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); } .ds-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10, 10, 10, 0.12); } .ds-section-dark .ds-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 1px rgba(204, 255, 0, 0.1); } /* Cinematic section reveal transforms */ .cinematic-reveal { will-change: transform, opacity; } /* Notebook story */ .notebook-story { position: relative; overflow: clip; background: var(--ink); color: var(--paper); } .notebook-story-runway { position: relative; min-height: var(--notebook-runway, 560vh); } @media (prefers-reduced-motion: no-preference) { .notebook-story-pending { min-height: var(--notebook-runway, 560vh); } } .notebook-story-sticky { position: sticky; top: 0; display: grid; height: 100dvh; min-height: 100dvh; place-items: center; padding: 32px clamp(20px, 3vw, 48px); } .notebook-story-grid { display: grid; grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); width: min(1440px, 100%); } .notebook-story-copy { max-width: 360px; } .notebook-story-kicker, .notebook-fallback-kicker, .notebook-browser-eyebrow { color: var(--slash); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.2; text-transform: uppercase; } .notebook-story-copy h2 { margin-top: var(--sp-4); max-width: 8ch; color: var(--white); font-family: var(--font-display); font-size: clamp(38px, 5vw, 72px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.94; } .notebook-story-copy p { max-width: 32ch; margin-top: var(--sp-6); color: rgba(244, 242, 237, 0.64); font-size: 13px; line-height: 1.7; } .notebook-story-stage { position: relative; display: grid; min-width: 0; height: min(82dvh, 780px); place-items: center; } .notebook-story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; } .notebook-story-canvas > div:first-child, .notebook-story-canvas canvas { pointer-events: none; } .notebook-story-controls { display: none; } .notebook-story-static-content { width: min(1080px, 100%); margin: 0 auto; padding: clamp(48px, 9vw, 112px) clamp(20px, 6vw, 80px); } .notebook-story-static-content > .notebook-fallback { width: 100%; margin: 0; padding: 0; } .notebook-screen-surface { pointer-events: auto; overflow: hidden; border-radius: 2px; transform-origin: 0 0; } .notebook-screen-surface .notebook-browser { width: 100%; height: 100%; box-shadow: none; } .notebook-screen-surface .notebook-browser { display: flex; flex-direction: column; } .notebook-screen-surface .notebook-browser-bar { min-height: 26px; } .notebook-screen-surface .notebook-browser-body { display: flex; flex: 1; min-height: 0; flex-direction: column; padding: 10px 14px; } .notebook-screen-surface .notebook-browser-heading { display: none; } .notebook-screen-surface .notebook-tablist { margin-top: 0; } .notebook-screen-surface .notebook-panel { flex: 1; min-height: 0; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; } .notebook-screen-surface .notebook-panel .notebook-screenshot-wrap { grid-row: 1; align-self: stretch; width: 100%; min-height: 0; aspect-ratio: auto; } .notebook-screen-surface .notebook-panel-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; } .notebook-screen-surface .notebook-panel-copy h3 { font-size: 20px; } .notebook-screen-surface .notebook-panel-copy > p { grid-column: 1; margin-top: 4px; font-size: 12px; } .notebook-screen-surface .notebook-panel-copy ul { grid-column: 1; margin-top: 6px; } .notebook-screen-surface .notebook-panel-copy > a, .notebook-screen-surface .notebook-panel-copy > span { grid-column: 2; grid-row: 1 / 4; max-width: 180px; margin-top: 0; font-size: 11px; } .notebook-fallback { width: min(1080px, 100%); margin: 0 auto; padding: clamp(48px, 9vw, 112px) clamp(20px, 6vw, 80px); } .notebook-fallback-intro { width: min(560px, 100%); margin-bottom: var(--sp-8); } .notebook-fallback-intro p { margin-top: var(--sp-3); color: rgba(244, 242, 237, 0.68); font-size: 13px; } .notebook-browser { position: relative; width: min(100%, 940px); overflow: hidden; border: 1px solid rgba(244, 242, 237, 0.16); background: #101313; color: var(--paper); box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34); } .notebook-browser-bar { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--sp-4); border-bottom: 1px solid rgba(244, 242, 237, 0.1); background: #181d1d; } .notebook-browser-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 242, 237, 0.34); } .notebook-browser-dot:first-child { background: #e46c4d; } .notebook-browser-dot:nth-child(2) { background: #d6aa57; } .notebook-browser-dot:nth-child(3) { background: #7cbd67; } .notebook-browser-address { margin-left: var(--sp-3); color: rgba(244, 242, 237, 0.42); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; } .notebook-browser-body { padding: clamp(20px, 3vw, 32px); } .notebook-browser-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); } .notebook-browser-counter { color: rgba(244, 242, 237, 0.44); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; } .notebook-tablist { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; margin-top: var(--sp-5); border-block: 1px solid rgba(244, 242, 237, 0.12); } .notebook-tab { display: flex; min-width: 0; min-height: 44px; align-items: center; gap: var(--sp-2); padding: 10px; border: 1px solid transparent; border-bottom-width: 2px; background: transparent; color: rgba(244, 242, 237, 0.48); cursor: pointer; text-align: left; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); } .notebook-tab:hover, .notebook-tab[aria-selected="true"] { border-bottom-color: var(--slash); background: rgba(204, 255, 0, 0.06); color: var(--white); } .notebook-tab:focus-visible { outline: 2px solid var(--slash); outline-offset: -3px; } .notebook-tab-number { flex: 0 0 auto; color: var(--slash); font-family: var(--font-mono); font-size: 10px; } .notebook-tab-title { overflow: hidden; font-family: var(--font-display); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; } .notebook-panel { display: grid; grid-template-columns: 1fr; align-items: start; gap: var(--sp-6); margin-top: var(--sp-6); } .notebook-panel-copy { order: 2; } .notebook-panel-copy h3 { color: var(--white); font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; } .notebook-panel-copy > p { margin-top: var(--sp-2); color: rgba(244, 242, 237, 0.6); font-size: 12px; line-height: 1.5; } .notebook-panel-copy ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4); list-style: none; } .notebook-panel-copy li { padding: 4px 7px; border: 1px solid rgba(244, 242, 237, 0.15); color: rgba(244, 242, 237, 0.7); font-family: var(--font-mono); font-size: 9px; line-height: 1.2; } .notebook-panel-copy a { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; margin-top: var(--sp-5); padding: 0 14px; border: 1px solid var(--slash); background: var(--slash); color: var(--ink); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; } .notebook-panel-copy a:hover { border-color: var(--white); background: var(--white); color: var(--ink); } .notebook-panel-copy a:active { transform: scale(0.98); } .notebook-panel-copy a:focus-visible { outline: 2px solid var(--slash); outline-offset: 3px; } .notebook-screenshot-wrap { position: relative; overflow: hidden; aspect-ratio: 8 / 5; border: 1px solid rgba(244, 242, 237, 0.16); background: var(--paper-dark); } .notebook-screenshot-status { position: absolute; z-index: 2; inset: auto 0 0; padding: 10px 14px; background: rgba(10, 10, 10, 0.92); color: var(--paper); font-size: 12px; line-height: 1.4; } .notebook-screenshot-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; } .notebook-screenshot { position: absolute; inset: 0; } .notebook-screenshot-current { z-index: 1; animation: notebook-screenshot-in 220ms ease both; } .notebook-screenshot-outgoing { z-index: 0; } .notebook-screenshot-pending { opacity: 0; pointer-events: none; } @keyframes notebook-screenshot-in { from { opacity: 0; } to { opacity: 1; } } .notebook-cursor { position: absolute; top: 0; left: 0; z-index: 3; width: 28px; height: 36px; overflow: visible; opacity: 0; pointer-events: none; transform-origin: 1px 1px; filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.4)); } .notebook-cursor-pulse { opacity: 0; } .notebook-cursor.is-clicking .notebook-cursor-pulse { opacity: 0.7; } @media (max-width: 1024px) { .notebook-story-runway { min-height: var(--notebook-mobile-runway, 440svh); } .notebook-story-sticky { height: 100svh; min-height: 100svh; padding: 64px 20px 16px; } .notebook-story-grid { grid-template-columns: 1fr; gap: 12px; } .notebook-story-copy { max-width: 560px; } .notebook-story-copy h2 { max-width: 12ch; margin-top: 8px; font-size: clamp(32px, 6vw, 44px); } .notebook-story-copy p { max-width: 44ch; margin-top: 8px; line-height: 1.45; } .notebook-story-stage { height: min(68vw, 38svh); min-height: 0; } .notebook-story-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; min-width: 0; } .notebook-story-project-buttons { display: flex; grid-column: 1 / -1; gap: 8px; } .notebook-story-project-buttons button, .notebook-story-controls > a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid rgba(244, 242, 237, 0.24); color: var(--white); font-family: var(--font-mono); font-size: 11px; text-decoration: none; touch-action: manipulation; } .notebook-story-project-buttons button[aria-pressed="true"] { border-color: var(--slash); color: var(--slash); } .notebook-story-project-buttons button:focus-visible, .notebook-story-controls > a:focus-visible { outline: 2px solid var(--slash); outline-offset: 3px; } .notebook-story-controls > p { min-width: 0; font-size: 14px; overflow-wrap: anywhere; } .notebook-story-controls > span { max-width: 18ch; font-size: 10px; } } @media (max-width: 1024px) and (prefers-reduced-motion: no-preference) { .notebook-story-pending { min-height: var(--notebook-mobile-runway, 440svh); } } @media (max-width: 680px) { .notebook-story-sticky { padding-inline: 20px; } .notebook-story-copy h2 { font-size: clamp(32px, 8vw, 44px); } .notebook-fallback { padding-inline: 20px; } .notebook-browser-body { padding: 16px; } .notebook-tablist { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } .notebook-tab { padding: 12px 8px; } .notebook-tab-title { white-space: normal; } .notebook-screen-surface .notebook-tablist { grid-auto-flow: column; grid-template-columns: none; } .notebook-screen-surface .notebook-tab-title { white-space: nowrap; } .notebook-panel { grid-template-columns: 1fr; } .notebook-panel-copy { order: 2; } } @media (max-width: 1024px) and (max-height: 520px) and (orientation: landscape) { .notebook-story-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); } .notebook-story-copy h2 { font-size: 28px; } .notebook-story-copy p { display: none; } .notebook-story-stage { height: 48svh; } .notebook-story-controls { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; } .notebook-story-project-buttons { grid-column: auto; } } @media (prefers-reduced-motion: reduce) { .notebook-tab, .notebook-cursor, .notebook-screenshot-current, .notebook-screenshot-outgoing { transition: none; animation: none; } } /* Interactive quality laboratory — scoped to the Lighthouse section. */ .quality-lab { --quality-muted: color-mix(in srgb, var(--paper) 72%, transparent); --quality-line: color-mix(in srgb, var(--paper) 18%, transparent); color: var(--paper); } .quality-intro { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr); gap: var(--sp-12); align-items: center; margin-bottom: var(--sp-10); } .quality-copy .ds-eyebrow { color: var(--slash); margin-bottom: var(--sp-5); } .quality-copy .ds-section-title { max-width: 16ch; } .quality-copy h2 span { display: block; color: var(--slash); } .quality-copy > p:not(.ds-eyebrow) { max-width: 44ch; margin: var(--sp-6) 0; color: var(--quality-muted); font-size: 15px; line-height: 1.8; } .quality-copy .ds-link { white-space: normal; line-height: 1.7; } .quality-visual { min-width: 0; border: 1px solid var(--quality-line); } .quality-visual-label { display: flex; justify-content: space-between; gap: var(--sp-4); border-bottom: 1px solid var(--quality-line); padding: var(--sp-4); color: var(--quality-muted); font: 10px / 1.5 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; } .quality-visual-label span:first-child { color: var(--paper); } .quality-blueprint { display: block; width: 100%; height: auto; } .quality-dimensions { stroke: var(--quality-line); } .quality-dimensions text { fill: var(--quality-muted); stroke: none; font: 9px var(--font-mono); } .quality-browser-frame { fill: var(--ink); stroke: color-mix(in srgb, var(--paper) 38%, transparent); } .quality-wire { stroke: color-mix(in srgb, var(--paper) 30%, transparent); } .quality-browser-dots { fill: var(--quality-muted); } .quality-address { fill: var(--quality-muted); font: 10px var(--font-mono); } .quality-browser-heading { fill: var(--paper); font: 700 24px var(--font-display); } .quality-browser-button { fill: var(--slash-dim); stroke: color-mix(in srgb, var(--slash) 50%, transparent); } .quality-browser-button-label { fill: var(--paper); font: 9px var(--font-mono); } .quality-layer { stroke: var(--slash); stroke-width: 1.2px; opacity: 0; transition: opacity 180ms ease-out; } .quality-layer text { fill: var(--slash); stroke: none; font: 10px var(--font-mono); } .quality-layer circle { fill: var(--slash); } .quality-highlight { fill: color-mix(in srgb, var(--slash) 5%, transparent); } .quality-focus-frame { stroke-width: 2px; stroke-dasharray: 5 3; } .quality-lab[data-inspection="performance"] [data-layer="performance"], .quality-lab[data-inspection="accessibility"] [data-layer="accessibility"], .quality-lab[data-inspection="practices"] [data-layer="practices"], .quality-lab[data-inspection="seo"] [data-layer="seo"] { opacity: 1; } .quality-annotation { fill: var(--ink); stroke: none; } @media (prefers-reduced-motion: no-preference) { .quality-lab[data-inspection="performance"] [data-layer="performance"] .quality-trace, .quality-lab[data-inspection="accessibility"] [data-layer="accessibility"] .quality-trace, .quality-lab[data-inspection="practices"] [data-layer="practices"] .quality-trace, .quality-lab[data-inspection="seo"] [data-layer="seo"] .quality-trace { stroke-dasharray: 1; animation: quality-trace 650ms ease-out; } } @keyframes quality-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } } .quality-visual figcaption { display: grid; min-height: 64px; border-top: 1px solid var(--quality-line); padding: var(--sp-4); color: var(--quality-muted); font-size: 12px; line-height: 1.65; } /* Overlapping hidden panels reserve the tallest content without fixed heights. */ .quality-visual figcaption span, .quality-report { grid-area: 1 / 1; } .quality-visual figcaption span[aria-hidden="true"], .quality-report[aria-hidden="true"] { visibility: hidden; } .quality-report-stack { display: grid; } .quality-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; border: 0; } .quality-control { position: relative; min-width: 0; cursor: pointer; } .quality-control input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; } .quality-control-content { display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; padding: var(--sp-5); border: 1px solid var(--quality-line); border-top-width: 2px; transition: background-color 180ms ease-out, border-color 180ms ease-out; } .quality-control + .quality-control .quality-control-content { border-left: 0; } .quality-control:hover .quality-control-content { background: color-mix(in srgb, var(--paper) 5%, transparent); } .quality-control input:checked + .quality-control-content { border-top-color: var(--slash); background: var(--slash-dim); } .quality-control input:focus-visible + .quality-control-content { outline: 2px solid var(--slash); outline-offset: 4px; } .quality-control-name { display: flex; align-items: center; gap: var(--sp-2); font-size: 15px; font-weight: 600; } .quality-control-name::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; } .quality-control input:checked + span .quality-control-name::before { background: var(--slash); border-color: var(--slash); } .quality-control-target { display: flex; align-items: baseline; gap: var(--sp-2); color: var(--quality-muted); font: 11px / 1.2 var(--font-mono); } .quality-control-target strong { margin-left: auto; color: var(--paper); font-size: 36px; font-weight: 500; font-variant-numeric: tabular-nums; } .quality-control input:checked + span strong { color: var(--slash); } .quality-hint, .quality-disclaimer { color: var(--quality-muted); font-size: 12px; line-height: 1.8; } .quality-hint { margin-top: var(--sp-4); } .quality-report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--sp-12); min-height: 240px; padding: var(--sp-8) 0; border-bottom: 1px solid var(--quality-line); } .quality-code { color: var(--slash); font: 10px / 1.8 var(--font-mono); letter-spacing: 0.04em; overflow-wrap: anywhere; } .quality-report h3 { margin: var(--sp-2) 0 var(--sp-3); font: 600 clamp(20px, 2.4vw, 28px) / 1.2 var(--font-display); letter-spacing: -0.025em; } .quality-report-copy > p:last-child { max-width: 60ch; color: var(--quality-muted); font-size: 14px; line-height: 1.8; } .quality-report ul { list-style: none; margin: 0; padding: 0; } .quality-report li { display: flex; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--quality-line); font-size: 13px; line-height: 1.65; } .quality-report li span { color: var(--slash); } .quality-disclaimer { margin-top: var(--sp-5); max-width: 90ch; } @media (max-width: 1000px) { .quality-intro { grid-template-columns: 1fr; gap: var(--sp-8); } .quality-copy .ds-section-title, .quality-copy > p:not(.ds-eyebrow) { max-width: 650px; } .quality-visual { width: min(100%, 720px); } } @media (max-width: 680px) { .quality-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); } .quality-control + .quality-control .quality-control-content { border-left: 1px solid var(--quality-line); } .quality-control-content { padding: var(--sp-4) var(--sp-3); } .quality-control-name { font-size: 13px; } .quality-control-target strong { font-size: 28px; } .quality-visual-label { padding: var(--sp-3); font-size: 9px; } .quality-report { grid-template-columns: 1fr; gap: var(--sp-4); min-height: 350px; } } @media (max-width: 360px) { .quality-control-content { padding-inline: var(--sp-2); } .quality-control-name { font-size: 12px; } } @media (prefers-reduced-motion: reduce) { .quality-layer, .quality-control-content { transition: none; } }