checkpoint2
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
html, body { overflow-x: clip; }
|
||||
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
|
||||
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
|
||||
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
|
||||
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
|
||||
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
|
||||
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
|
||||
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
|
||||
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
|
||||
p { margin: 0; text-wrap: pretty; }
|
||||
p:not([class]) { max-width: 65ch; }
|
||||
img, video { max-width: 100%; height: auto; display: block; }
|
||||
svg { display: block; }
|
||||
[hidden] { display: none !important; }
|
||||
button, input, select, textarea { font: inherit; }
|
||||
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
|
||||
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
|
||||
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
||||
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
|
||||
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
|
||||
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
|
||||
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
|
||||
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
|
||||
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
|
||||
+151
-608
@@ -1,32 +1,40 @@
|
||||
/* Hallmark · shape: Narrative Workflow (draw cf1b96) · genre: editorial · theme: Studio (deal 1/3, seed photo-editing-tools-web-9d55·b0c4e30f·2026-11-06·r0) · redesign: full
|
||||
* hero: Counter · nav: banner over a retracting bar · footer: statement · imagery: photographs · signature: crop-marked before-after studio loupe
|
||||
* axes: light/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
|
||||
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 · weakest: V, photo tools often default to generic dark neon; took cool studio-white proof paper with cadmium orange */
|
||||
@import url("./tokens.css");
|
||||
@import url("./base.css");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif:[email protected]&family=Geist:wght@300;400;500;600;700&display=swap");
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--color-primary: #2563EB;
|
||||
--color-primary-hover: #1D4ED8;
|
||||
--color-primary-light: #EFF6FF;
|
||||
--color-accent: #0284C7;
|
||||
--color-surface: #FAF8F5;
|
||||
--color-surface-subtle: #F5F2EB;
|
||||
--color-surface-card: #FFFFFF;
|
||||
--theme-radius: 20px;
|
||||
--theme-max-width: 1680px;
|
||||
--font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Helvetica Neue", sans-serif;
|
||||
--color-primary: var(--color-accent);
|
||||
--color-primary-hover: var(--color-accent-hi);
|
||||
--color-primary-light: var(--color-accent-soft);
|
||||
--color-surface: var(--color-paper);
|
||||
--color-surface-subtle: var(--color-paper-2);
|
||||
--color-surface-card: var(--color-paper-hi);
|
||||
--theme-radius: 3px;
|
||||
--theme-max-width: 1440px;
|
||||
--font-sans: var(--font-body);
|
||||
--font-serif: var(--font-display);
|
||||
}
|
||||
|
||||
* {
|
||||
word-break: normal;
|
||||
overflow-wrap: normal;
|
||||
hyphens: none;
|
||||
html, body {
|
||||
overflow-x: clip;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
background-color: var(--color-paper);
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
/* Lenis Ultra-Smooth Scrolling Performance Integration */
|
||||
/* Lenis integration */
|
||||
html.lenis,
|
||||
html.lenis body {
|
||||
height: auto;
|
||||
@@ -45,640 +53,175 @@
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.lenis.lenis-smooth iframe {
|
||||
pointer-events: none;
|
||||
body {
|
||||
color: var(--color-ink);
|
||||
background-color: var(--color-paper);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-md);
|
||||
line-height: 1.55;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #0F172A;
|
||||
background-color: #FAF8F5;
|
||||
background-image:
|
||||
radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
|
||||
background-attachment: scroll;
|
||||
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
|
||||
overflow-x: clip;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
::selection {
|
||||
background: color-mix(in oklab, var(--color-accent) 24%, transparent);
|
||||
color: var(--color-ink);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--color-focus);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, .font-display {
|
||||
font-family: var(--font-display), var(--font-sans), sans-serif;
|
||||
letter-spacing: -0.04em;
|
||||
color: #0F172A;
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
p {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.font-mono {
|
||||
font-family: var(--font-mono), monospace;
|
||||
letter-spacing: -0.015em;
|
||||
font-family: var(--font-display);
|
||||
color: var(--color-ink);
|
||||
letter-spacing: var(--tracking-display);
|
||||
font-weight: var(--display-weight, 400);
|
||||
font-synthesis: none;
|
||||
overflow-wrap: break-word;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Creamy Studio Glassmorphism */
|
||||
.glass-neo {
|
||||
background: rgba(250, 248, 245, 0.85);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border: 1px solid rgba(15, 23, 42, 0.06);
|
||||
/* Studio Theme Components & Craft Rules */
|
||||
.studio-proof-grid {
|
||||
background-image: radial-gradient(circle at 1px 1px, var(--color-dot) 1px, transparent 0);
|
||||
background-size: 24px 24px;
|
||||
}
|
||||
|
||||
/* Authentic True Liquid Glass Capsule with High Refraction & Specular Gloss */
|
||||
.liquid-glass-nav {
|
||||
/* Crop marks for tactile proof sheet framing */
|
||||
.crop-marked {
|
||||
position: relative;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
border: 1px solid rgba(15, 23, 42, 0.08);
|
||||
box-shadow:
|
||||
/* Razor-sharp 1px top specular ridge */
|
||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
|
||||
/* Crisp 1px bottom reflection */
|
||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.2),
|
||||
/* Soft volumetric ambient shadows */
|
||||
0 20px 45px -10px rgba(15, 23, 42, 0.08),
|
||||
0 8px 16px -4px rgba(15, 23, 42, 0.03);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.liquid-glass-nav.nav-scrolled {
|
||||
background: rgba(255, 255, 255, 0.99);
|
||||
box-shadow:
|
||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
|
||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
|
||||
0 24px 50px -12px rgba(15, 23, 42, 0.1),
|
||||
0 10px 20px -5px rgba(15, 23, 42, 0.04);
|
||||
}
|
||||
|
||||
/* Ensure foreground elements sit crisply */
|
||||
.liquid-glass-nav > * {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Abbe Chromatic Dispersion Highlight Line (Physical Prismatic Spectral Edge) */
|
||||
.liquid-glass-nav::after {
|
||||
.crop-marked::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 6%;
|
||||
right: 6%;
|
||||
height: 1px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(56, 189, 248, 0.55) 20%,
|
||||
rgba(255, 255, 255, 0.95) 50%,
|
||||
rgba(168, 85, 247, 0.5) 80%,
|
||||
transparent 100%
|
||||
);
|
||||
inset: -6px;
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
/* Cylindrical Lens Caustic Bands & Longitudinal Focal Concentration Overlay */
|
||||
.liquid-caustic-refraction {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background:
|
||||
linear-gradient(
|
||||
180deg,
|
||||
rgba(255, 255, 255, 0.3) 0%,
|
||||
rgba(255, 255, 255, 0.08) 16%,
|
||||
transparent 28%,
|
||||
rgba(255, 255, 255, 0.03) 50%,
|
||||
transparent 72%,
|
||||
rgba(255, 255, 255, 0.08) 84%,
|
||||
rgba(255, 255, 255, 0.2) 100%
|
||||
),
|
||||
radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 75%);
|
||||
mix-blend-mode: overlay;
|
||||
background:
|
||||
linear-gradient(to right, var(--color-mark) 1px, transparent 1px) 0 0 / 12px 1px no-repeat,
|
||||
linear-gradient(to bottom, var(--color-mark) 1px, transparent 1px) 0 0 / 1px 12px no-repeat,
|
||||
linear-gradient(to left, var(--color-mark) 1px, transparent 1px) 100% 0 / 12px 1px no-repeat,
|
||||
linear-gradient(to bottom, var(--color-mark) 1px, transparent 1px) 100% 0 / 1px 12px no-repeat,
|
||||
linear-gradient(to right, var(--color-mark) 1px, transparent 1px) 0 100% / 12px 1px no-repeat,
|
||||
linear-gradient(to top, var(--color-mark) 1px, transparent 1px) 0 100% / 1px 12px no-repeat,
|
||||
linear-gradient(to left, var(--color-mark) 1px, transparent 1px) 100% 100% / 12px 1px no-repeat,
|
||||
linear-gradient(to top, var(--color-mark) 1px, transparent 1px) 100% 100% / 1px 12px no-repeat;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Liquid Glass Mobile Dropdown */
|
||||
.liquid-glass-dropdown {
|
||||
position: relative;
|
||||
background: #fff;
|
||||
border: 1px solid rgba(15, 23, 42, 0.1);
|
||||
box-shadow:
|
||||
inset 0 2px 1px rgba(255, 255, 255, 1),
|
||||
inset 0 0 20px rgba(255, 255, 255, 0.35),
|
||||
0 24px 60px -10px rgba(15, 23, 42, 0.16);
|
||||
/* Clean sheet container */
|
||||
.studio-sheet {
|
||||
background: var(--color-paper-hi);
|
||||
border: var(--rule-hair) solid var(--color-rule);
|
||||
border-radius: var(--radius-card);
|
||||
box-shadow: var(--shadow-sheet);
|
||||
transition-property: border-color, box-shadow;
|
||||
transition-duration: var(--dur-short);
|
||||
transition-timing-function: var(--ease-out);
|
||||
}
|
||||
|
||||
.glass-card {
|
||||
background: #FFFFFF;
|
||||
border: 1px solid rgba(15, 23, 42, 0.07);
|
||||
box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
|
||||
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
.studio-sheet:hover {
|
||||
border-color: color-mix(in oklab, var(--color-ink) 25%, var(--color-rule));
|
||||
}
|
||||
|
||||
.glass-card:hover {
|
||||
border-color: rgba(37, 99, 235, 0.25);
|
||||
box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Editorial Gradient Text */
|
||||
.text-gradient-brand {
|
||||
background: linear-gradient(135deg, #0F172A 20%, #2563EB 65%, #7C3AED 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.text-gradient-cyan {
|
||||
background: linear-gradient(135deg, #0F172A 15%, #0284C7 85%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
/* Shimmer Animation Effect for Badges & Buttons — disabled on touch devices */
|
||||
.shimmer-badge {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.4) 50%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 4s infinite;
|
||||
}
|
||||
@media (pointer: coarse) {
|
||||
.shimmer-badge { animation: none; }
|
||||
}
|
||||
|
||||
@keyframes gradient-flow {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shimmer-slide {
|
||||
0% {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes border-beam {
|
||||
100% {
|
||||
offset-distance: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.animate-border-beam {
|
||||
animation: border-beam var(--duration) infinite linear;
|
||||
}
|
||||
|
||||
/* Pixelcut Typography & Sub-Pixel Crisp Font Rendering */
|
||||
body, h1, h2, h3, h4, p, span, button {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
/* Clean Minimalist Warm Scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background: #FAF8F5;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #DDD7CC;
|
||||
border-radius: 9999px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #C8C2B5;
|
||||
}
|
||||
|
||||
/* 3D Motion Keyframes & Floating Helpers */
|
||||
@keyframes float-slow {
|
||||
0%, 100% {
|
||||
transform: translateY(0px) rotate(0deg);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-8px) rotate(1.2deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes float-medium {
|
||||
0%, 100% {
|
||||
transform: translateY(0px) rotate(0deg);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-12px) rotate(-1.5deg);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-float-slow {
|
||||
animation: float-slow 6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.animate-float-medium {
|
||||
animation: float-medium 7.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* 3D Cinematic Perspective Utilities (Enigma Cult Reference) */
|
||||
.perspective-800 {
|
||||
perspective: 800px;
|
||||
}
|
||||
.perspective-1000 {
|
||||
perspective: 1000px;
|
||||
}
|
||||
.perspective-1400 {
|
||||
perspective: 1400px;
|
||||
}
|
||||
.preserve-3d {
|
||||
transform-style: preserve-3d;
|
||||
}
|
||||
.backface-hidden {
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
/* Luxury 3D Holographic Split Line & Caustics */
|
||||
@keyframes holographic-laser-pulse {
|
||||
0%, 100% {
|
||||
box-shadow:
|
||||
0 0 10px rgba(37, 99, 235, 0.7),
|
||||
0 0 25px rgba(197, 168, 128, 0.4),
|
||||
inset 0 0 8px rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
50% {
|
||||
box-shadow:
|
||||
0 0 18px rgba(37, 99, 235, 0.95),
|
||||
0 0 40px rgba(197, 168, 128, 0.65),
|
||||
inset 0 0 12px rgba(255, 255, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
/* holographic-laser-pulse: disabled — box-shadow pulses cause GPU paint on every frame */
|
||||
.holographic-laser-split {
|
||||
box-shadow: 0 0 10px rgba(37, 99, 235, 0.5), 0 0 25px rgba(197, 168, 128, 0.3);
|
||||
}
|
||||
|
||||
/* Light Luxury Cinematic 3D Card Shadows */
|
||||
.shadow-cinematic-3d {
|
||||
box-shadow:
|
||||
0 30px 60px -15px rgba(15, 23, 42, 0.08),
|
||||
0 10px 25px -5px rgba(15, 23, 42, 0.04),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.shadow-cinematic-hover {
|
||||
box-shadow:
|
||||
0 40px 80px -20px rgba(15, 23, 42, 0.12),
|
||||
0 16px 32px -8px rgba(37, 99, 235, 0.08),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
/* Enigma Editorial Typography Accent Gradients */
|
||||
.text-gradient-champagne {
|
||||
background: linear-gradient(135deg, #1E293B 20%, #B89058 70%, #9B6B43 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
/* Guaranteed Text Visibility - Fix all text disappearance issues */
|
||||
.text-transparent,
|
||||
[class*="text-transparent"],
|
||||
[class*="bg-clip-text"],
|
||||
.text-gradient-brand,
|
||||
.text-gradient-cyan,
|
||||
.text-gradient-champagne {
|
||||
text-shadow: none !important;
|
||||
filter: none !important;
|
||||
transform-style: flat !important;
|
||||
-webkit-text-fill-color: transparent !important;
|
||||
-webkit-background-clip: text !important;
|
||||
background-clip: text !important;
|
||||
display: inline-block;
|
||||
opacity: 1 !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
/* Crisp, Ultra-Lightweight Editorial Headings (Zero CPU load, Zero Disappearance) */
|
||||
h1, h2, h3, h4, h5, h6, .text-3d-chiseled {
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/* Crisp Stat Numbers */
|
||||
.stat-value, .stat-number, [data-stat] {
|
||||
display: inline-block;
|
||||
text-shadow: none !important;
|
||||
filter: none !important;
|
||||
}
|
||||
|
||||
/* Lightweight Badge Styling (Zero Continuous CPU/GPU Spikes) */
|
||||
.badge-3d, [class*="badge"] {
|
||||
/* Buttons adhering to Floor rule 1, 2, 7a, 10a */
|
||||
.btn-primary {
|
||||
display: inline-flex;
|
||||
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-xs);
|
||||
padding: var(--space-sm) var(--space-lg);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
color: var(--color-accent-ink);
|
||||
background-color: var(--color-accent);
|
||||
border: var(--rule-hair) solid var(--color-accent);
|
||||
border-radius: var(--radius-pill);
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition-property: background-color, border-color, transform;
|
||||
transition-duration: var(--dur-micro);
|
||||
transition-timing-function: var(--ease-out);
|
||||
}
|
||||
|
||||
.badge-3d:hover {
|
||||
.btn-primary:hover {
|
||||
background-color: var(--color-accent-hi);
|
||||
border-color: var(--color-accent-hi);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 8px -2px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
/* A consistent, quiet interaction language for the whole studio. */
|
||||
:where(a, button, [role="button"], input, select, textarea) {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
.btn-primary:active,
|
||||
.btn-secondary:active,
|
||||
button:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
:where(button, [role="button"], a[href]):focus-visible {
|
||||
outline: 3px solid rgba(37, 99, 235, 0.42);
|
||||
outline-offset: 3px;
|
||||
button:disabled,
|
||||
.btn-primary:disabled,
|
||||
.btn-secondary:disabled,
|
||||
[aria-disabled="true"] {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
:where(button, [role="button"]) {
|
||||
transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
|
||||
box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
|
||||
.btn-secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-xs);
|
||||
padding: var(--space-sm) var(--space-lg);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
color: var(--color-ink);
|
||||
background-color: var(--color-paper-hi);
|
||||
border: var(--rule-hair) solid var(--color-rule);
|
||||
border-radius: var(--radius-pill);
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition-property: background-color, border-color, transform;
|
||||
transition-duration: var(--dur-micro);
|
||||
transition-timing-function: var(--ease-out);
|
||||
}
|
||||
|
||||
:where(button, [role="button"]):active {
|
||||
transform: scale(0.975);
|
||||
.btn-secondary:hover {
|
||||
background-color: var(--color-paper-2);
|
||||
border-color: var(--color-ink-2);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
:where(a[href]) {
|
||||
text-decoration-thickness: from-font;
|
||||
text-underline-offset: 0.18em;
|
||||
}
|
||||
|
||||
[data-section-entrance] {
|
||||
transform-origin: 50% 40%;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.section-shell[data-revealed="true"] {
|
||||
animation: section-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
@keyframes section-enter {
|
||||
from { opacity: 0.7; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
@keyframes neural-sweep {
|
||||
0% { transform: translateX(-120%); opacity: 0; }
|
||||
25% { opacity: 0.75; }
|
||||
75% { opacity: 0.75; }
|
||||
100% { transform: translateX(650%); opacity: 0; }
|
||||
}
|
||||
|
||||
.animate-neural-sweep {
|
||||
animation: none; /* Disabled — was causing constant paint on every page; re-enable only in targeted hero contexts if needed */
|
||||
}
|
||||
|
||||
@supports (content-visibility: auto) {
|
||||
.section-shell:not(.section-shell--hero) {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 760px;
|
||||
}
|
||||
/* Labels adhering to Gate 9 & Gate 67: body face, smaller, sentence case, untracked */
|
||||
.studio-label {
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 500;
|
||||
color: var(--color-muted);
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
/* Accessible skip link */
|
||||
.skip-link {
|
||||
position: fixed;
|
||||
top: 0.75rem;
|
||||
left: 50%;
|
||||
z-index: 100;
|
||||
transform: translate(-50%, -200%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
border-radius: 9999px;
|
||||
background: #0f172a;
|
||||
padding: 0.7rem 1rem;
|
||||
color: #fff;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
transition: transform 180ms ease, opacity 180ms ease;
|
||||
position: absolute;
|
||||
top: -100px;
|
||||
left: var(--space-md);
|
||||
padding: var(--space-sm) var(--space-md);
|
||||
background: var(--color-ink);
|
||||
color: var(--color-paper);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 500;
|
||||
z-index: var(--z-tooltip);
|
||||
border-radius: var(--radius-card);
|
||||
text-decoration: none;
|
||||
transition-property: top;
|
||||
transition-duration: var(--dur-short);
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
transform: translate(-50%, 0);
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
top: var(--space-md);
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
color: #1d4ed8;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.14em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.button-primary,
|
||||
.button-secondary {
|
||||
display: inline-flex;
|
||||
min-height: 2.75rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
border-radius: 9999px;
|
||||
padding: 0.65rem 1rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
|
||||
}
|
||||
|
||||
.button-primary { background: #0f172a; color: #fff; box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.45); }
|
||||
.button-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
|
||||
.button-secondary { border: 1px solid rgba(15, 23, 42, 0.14); background: #fff; color: #334155; }
|
||||
.button-secondary:hover { border-color: rgba(15, 23, 42, 0.3); background: #f8fafc; transform: translateY(-1px); }
|
||||
|
||||
.media-label {
|
||||
position: absolute;
|
||||
bottom: 0.5rem;
|
||||
border-radius: 0.35rem;
|
||||
background: rgba(15, 23, 42, 0.82);
|
||||
padding: 0.2rem 0.4rem;
|
||||
color: #fff;
|
||||
font-size: 0.625rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.cinematic-rail {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #cbd5e1 transparent;
|
||||
overscroll-behavior-inline: contain;
|
||||
}
|
||||
|
||||
.tool-filter-rail { scrollbar-width: none; }
|
||||
.tool-filter-rail::-webkit-scrollbar { display: none; }
|
||||
|
||||
::selection {
|
||||
color: #fff;
|
||||
background: #315fcb;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
scroll-behavior: auto !important;
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
body { background-image: none; }
|
||||
.liquid-glass-nav { box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.22); }
|
||||
.section-shell[data-revealed="true"] { animation: none; }
|
||||
.perspective-800, .perspective-1000, .perspective-1400 { perspective: none; }
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
.glass-card:hover, .button-primary:hover, .button-secondary:hover { transform: none; }
|
||||
}
|
||||
|
||||
/* Animated Quantum Logo Keyframes — slowed down to reduce thermal impact */
|
||||
@keyframes cre-orbit-cw {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
@keyframes cre-orbit-ccw {
|
||||
from { transform: rotate(360deg); }
|
||||
to { transform: rotate(0deg); }
|
||||
}
|
||||
@keyframes cre-pulse-star {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.05); }
|
||||
}
|
||||
@keyframes cre-shimmer-slide {
|
||||
0%, 20% { transform: translate(-80px, -80px) rotate(45deg); opacity: 0; }
|
||||
40% { opacity: 0.9; }
|
||||
60%, 100% { transform: translate(80px, 80px) rotate(45deg); opacity: 0; }
|
||||
}
|
||||
|
||||
/* Slower orbit = less frame renders = cooler device */
|
||||
.cre-anim-orbit {
|
||||
transform-origin: 50px 50px;
|
||||
animation: cre-orbit-cw 28s linear infinite;
|
||||
}
|
||||
.cre-anim-orbit-reverse {
|
||||
transform-origin: 50px 50px;
|
||||
animation: cre-orbit-ccw 22s linear infinite;
|
||||
}
|
||||
/* Removed drop-shadow filter from keyframe — filters force layer rasterization on every frame */
|
||||
.cre-anim-core {
|
||||
transform-origin: 50px 50px;
|
||||
animation: cre-pulse-star 5s ease-in-out infinite;
|
||||
}
|
||||
/* Slower shimmer = much lower repaint frequency */
|
||||
.cre-anim-shimmer {
|
||||
animation: cre-shimmer-slide 8s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* On touch/mobile devices — disable logo orbit animations entirely (huge thermal saving) */
|
||||
@media (pointer: coarse), (max-width: 767px) {
|
||||
.cre-anim-orbit,
|
||||
.cre-anim-orbit-reverse,
|
||||
.cre-anim-core,
|
||||
.cre-anim-shimmer {
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes laser-scan {
|
||||
0% { transform: translateX(-150%); opacity: 0; }
|
||||
25% { opacity: 0.9; }
|
||||
75% { opacity: 0.9; }
|
||||
100% { transform: translateX(250%); opacity: 0; }
|
||||
}
|
||||
|
||||
.animate-laser-scan {
|
||||
animation: laser-scan 1.6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
MOBILE & TABLET THERMAL SAFETY NET — kills all non-essential
|
||||
continuously running CSS animations, heavy backdrop-filter passes,
|
||||
and unneeded GPU layer allocations on touch devices & tablets.
|
||||
Keeps native 120Hz smooth scrolling without CPU/GPU thermal spikes.
|
||||
============================================================ */
|
||||
@media (pointer: coarse), (max-width: 1024px) {
|
||||
/* Kill always-running background sweeps, laser scans & shimmer beams */
|
||||
.animate-neural-sweep,
|
||||
.animate-border-beam,
|
||||
.animate-laser-scan,
|
||||
.shimmer-badge,
|
||||
.holographic-laser-split {
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
/* Kill logo orbit animations (they run 24/7 even when offscreen) */
|
||||
.cre-anim-orbit,
|
||||
.cre-anim-orbit-reverse,
|
||||
.cre-anim-core,
|
||||
.cre-anim-shimmer {
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
/* Kill Tailwind's built-in pulse/bounce/spin/ping on touch devices */
|
||||
.animate-pulse {
|
||||
animation: none !important;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.animate-bounce {
|
||||
animation: none !important;
|
||||
}
|
||||
.animate-spin {
|
||||
animation: none !important;
|
||||
}
|
||||
.animate-ping {
|
||||
animation: none !important;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Kill always-on float animations */
|
||||
.animate-float-slow,
|
||||
.animate-float-medium {
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
/* Reduce will-change on mobile/tablets: browser treats this as a hint to
|
||||
allocate a separate GPU layer, which costs VRAM and generates heat */
|
||||
[class*="will-change-"] {
|
||||
will-change: auto !important;
|
||||
}
|
||||
|
||||
/* Disable expensive backdrop-filter on mobile/tablets where it causes GPU thermal spikes */
|
||||
[class*="backdrop-blur"],
|
||||
.liquid-glass-nav,
|
||||
.liquid-glass-dropdown,
|
||||
.glass-neo {
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
}
|
||||
|
||||
/* Disable body background gradient on mobile: static color is free */
|
||||
body {
|
||||
background-image: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Marquee: use CSS contain to limit repaint area */
|
||||
.animate-marquee,
|
||||
.animate-marquee-vertical {
|
||||
contain: layout style;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -93,7 +93,7 @@ export default function RootLayout({
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(organizationJsonLd) }}
|
||||
/>
|
||||
</head>
|
||||
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative font-sans">
|
||||
<body className="min-h-screen flex flex-col antialiased bg-paper text-ink relative font-sans overflow-x-clip">
|
||||
<SmoothScrollProvider>
|
||||
<a href="#main-content" className="skip-link">Skip to main content</a>
|
||||
<Navbar config={config} currentLocale="en" />
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
|
||||
--text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
|
||||
--text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
|
||||
--text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
|
||||
--ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
||||
--dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
|
||||
--color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
|
||||
--container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
|
||||
--z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
|
||||
--color-paper: oklch(97.2% 0.006 215); --color-paper-2: oklch(94% 0.009 215); --color-paper-3: oklch(90.5% 0.011 215); --color-paper-hi: oklch(99% 0.004 215);
|
||||
--color-ink: oklch(16% 0.032 250); --color-ink-2: oklch(34% 0.022 245); --color-muted: oklch(49% 0.018 240);
|
||||
--color-rule: oklch(84% 0.010 225);
|
||||
--color-accent: oklch(68% 0.172 50); --color-accent-hi: oklch(63% 0.18 48); --color-accent-soft: oklch(95% 0.03 50); --color-accent-ink: oklch(16% 0.032 250); --color-focus: oklch(52% 0.15 48);
|
||||
--color-dot: color-mix(in oklab, var(--color-ink) 20%, transparent); --color-mark: color-mix(in oklab, var(--color-ink) 72%, transparent);
|
||||
--font-display: "Hedvig Letters Serif", ui-serif, Georgia, serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
|
||||
--font-outlier: "Sofia Sans Extra Condensed", "Arial Narrow", ui-sans-serif, sans-serif;
|
||||
--radius-card: 3px; --radius-pill: 3px; --rule-hair: 1px;
|
||||
--shadow-card: none;
|
||||
--shadow-sheet: 1px 2px 0 color-mix(in oklab, var(--color-ink) 7%, transparent), 10px 18px 36px -14px color-mix(in oklab, var(--color-ink) 32%, transparent);
|
||||
--tracking-display: -0.022em; --display-weight: 400;
|
||||
}
|
||||
Reference in New Issue
Block a user