552 lines
13 KiB
CSS
552 lines
13 KiB
CSS
@import "tailwindcss";
|
|
|
|
/* ─── Design Tokens (Material Design 3 inspired) ─── */
|
|
:root {
|
|
--surface: #E7D3EF;
|
|
--surface-dim: #dadadc;
|
|
--surface-bright: #E7D3EF;
|
|
--surface-container-lowest: #ffffff;
|
|
--surface-container-low: #f3f3f6;
|
|
--surface-container: #eeeef0;
|
|
--surface-container-high: #e8e8ea;
|
|
--surface-container-highest: #e2e2e5;
|
|
--on-surface: #1a1c1e;
|
|
--on-surface-variant: #4d434f;
|
|
--inverse-surface: #2f3133;
|
|
--inverse-on-surface: #f0f0f3;
|
|
--outline: #7f7381;
|
|
--outline-variant: #d0c2d1;
|
|
--surface-tint: #83429f;
|
|
--primary: #4d046a;
|
|
--on-primary: #ffffff;
|
|
--primary-container: #662582;
|
|
--on-primary-container: #de96f9;
|
|
--inverse-primary: #ebb2ff;
|
|
--secondary: #006d37;
|
|
--on-secondary: #ffffff;
|
|
--secondary-container: #7bf8a1;
|
|
--on-secondary-container: #007239;
|
|
--tertiary: #745b00;
|
|
--on-tertiary: #ffffff;
|
|
--tertiary-container: #cda72b;
|
|
--on-tertiary-container: #4f3d00;
|
|
--error: #ba1a1a;
|
|
--on-error: #ffffff;
|
|
--error-container: #ffdad6;
|
|
--on-error-container: #93000a;
|
|
--primary-fixed: #f8d8ff;
|
|
--primary-fixed-dim: #ebb2ff;
|
|
--on-primary-fixed: #320047;
|
|
--on-primary-fixed-variant: #692885;
|
|
--secondary-fixed: #7efba4;
|
|
--secondary-fixed-dim: #61de8a;
|
|
--on-secondary-fixed: #00210c;
|
|
--on-secondary-fixed-variant: #005228;
|
|
--tertiary-fixed: #ffe08b;
|
|
--tertiary-fixed-dim: #ebc246;
|
|
--on-tertiary-fixed: #241a00;
|
|
--on-tertiary-fixed-variant: #584400;
|
|
--background: #E7D3EF;
|
|
--on-background: #1a1c1e;
|
|
--surface-variant: #e2e2e5;
|
|
--brand-dark: #120217;
|
|
--brand-dark-surface: #1e0627;
|
|
--brand-accent: #e0c8f7;
|
|
--brand-accent-light: #E4D0FC;
|
|
--brand-cream: #E7D3EF;
|
|
}
|
|
|
|
/* ─── Tailwind v4 Theme ─── */
|
|
@theme inline {
|
|
/* Colors */
|
|
--color-surface: var(--surface);
|
|
--color-surface-dim: var(--surface-dim);
|
|
--color-surface-bright: var(--surface-bright);
|
|
--color-surface-container-lowest: var(--surface-container-lowest);
|
|
--color-surface-container-low: var(--surface-container-low);
|
|
--color-surface-container: var(--surface-container);
|
|
--color-surface-container-high: var(--surface-container-high);
|
|
--color-surface-container-highest: var(--surface-container-highest);
|
|
--color-on-surface: var(--on-surface);
|
|
--color-on-surface-variant: var(--on-surface-variant);
|
|
--color-inverse-surface: var(--inverse-surface);
|
|
--color-inverse-on-surface: var(--inverse-on-surface);
|
|
--color-outline: var(--outline);
|
|
--color-outline-variant: var(--outline-variant);
|
|
--color-surface-tint: var(--surface-tint);
|
|
--color-primary: var(--primary);
|
|
--color-on-primary: var(--on-primary);
|
|
--color-primary-container: var(--primary-container);
|
|
--color-on-primary-container: var(--on-primary-container);
|
|
--color-inverse-primary: var(--inverse-primary);
|
|
--color-secondary: var(--secondary);
|
|
--color-on-secondary: var(--on-secondary);
|
|
--color-secondary-container: var(--secondary-container);
|
|
--color-on-secondary-container: var(--on-secondary-container);
|
|
--color-tertiary: var(--tertiary);
|
|
--color-on-tertiary: var(--on-tertiary);
|
|
--color-tertiary-container: var(--tertiary-container);
|
|
--color-on-tertiary-container: var(--on-tertiary-container);
|
|
--color-error: var(--error);
|
|
--color-on-error: var(--on-error);
|
|
--color-error-container: var(--error-container);
|
|
--color-on-error-container: var(--on-error-container);
|
|
--color-primary-fixed: var(--primary-fixed);
|
|
--color-primary-fixed-dim: var(--primary-fixed-dim);
|
|
--color-on-primary-fixed: var(--on-primary-fixed);
|
|
--color-on-primary-fixed-variant: var(--on-primary-fixed-variant);
|
|
--color-secondary-fixed: var(--secondary-fixed);
|
|
--color-secondary-fixed-dim: var(--secondary-fixed-dim);
|
|
--color-on-secondary-fixed: var(--on-secondary-fixed);
|
|
--color-on-secondary-fixed-variant: var(--on-secondary-fixed-variant);
|
|
--color-tertiary-fixed: var(--tertiary-fixed);
|
|
--color-tertiary-fixed-dim: var(--tertiary-fixed-dim);
|
|
--color-on-tertiary-fixed: var(--on-tertiary-fixed);
|
|
--color-on-tertiary-fixed-variant: var(--on-tertiary-fixed-variant);
|
|
--color-background: var(--background);
|
|
--color-on-background: var(--on-background);
|
|
--color-surface-variant: var(--surface-variant);
|
|
--color-brand-dark: var(--brand-dark);
|
|
--color-brand-dark-surface: var(--brand-dark-surface);
|
|
--color-brand-accent: var(--brand-accent);
|
|
--color-brand-accent-light: var(--brand-accent-light);
|
|
--color-brand-cream: var(--brand-cream);
|
|
|
|
/* Spacing */
|
|
--spacing-stack-xs: 4px;
|
|
--spacing-stack-sm: 8px;
|
|
--spacing-stack-md: 16px;
|
|
--spacing-stack-lg: 24px;
|
|
--spacing-gutter: 16px;
|
|
--spacing-margin-mobile: 16px;
|
|
--spacing-margin-desktop: 32px;
|
|
--spacing-container-max: 1280px;
|
|
|
|
/* Fonts */
|
|
--font-display: "Jost", sans-serif;
|
|
--font-body: "Jost", sans-serif;
|
|
|
|
|
|
/* Border radius */
|
|
--radius-sm: 0.25rem;
|
|
--radius-DEFAULT: 0.5rem;
|
|
--radius-md: 0.75rem;
|
|
--radius-lg: 1rem;
|
|
--radius-xl: 1.5rem;
|
|
--radius-2xl: 2rem;
|
|
--radius-full: 9999px;
|
|
}
|
|
|
|
/* ─── Base Styles ─── */
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--on-surface);
|
|
font-family: var(--font-body);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--primary-container);
|
|
color: var(--on-primary-container);
|
|
}
|
|
|
|
/* ─── Typography Utility Classes ─── */
|
|
.text-display {
|
|
font-family: var(--font-display);
|
|
font-size: 48px;
|
|
font-weight: 800;
|
|
line-height: 56px;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.text-headline-lg {
|
|
font-family: var(--font-display);
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
line-height: 40px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.text-headline-lg-mobile {
|
|
font-family: var(--font-display);
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.text-headline-md {
|
|
font-family: var(--font-display);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.text-body-lg {
|
|
font-family: var(--font-body);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.text-body-md {
|
|
font-family: var(--font-body);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.text-body-sm {
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.text-label-md {
|
|
font-family: var(--font-body);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.text-label-sm {
|
|
font-family: var(--font-body);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 16px;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
/* ─── Component Utilities ─── */
|
|
.bento-card {
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.bento-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Material Symbols config */
|
|
.material-symbols-outlined {
|
|
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
}
|
|
|
|
/* ─── Responsive Typography ─── */
|
|
@media (max-width: 768px) {
|
|
.text-display {
|
|
font-size: 36px;
|
|
line-height: 44px;
|
|
}
|
|
|
|
.text-headline-lg {
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
|
|
/* ─── Premium Custom Animations & Utilities ─── */
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0px) rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-8px) rotate(1deg);
|
|
}
|
|
}
|
|
|
|
.animate-float {
|
|
animation: float 4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse-subtle {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
50% {
|
|
opacity: 0.9;
|
|
transform: scale(1.02);
|
|
}
|
|
}
|
|
|
|
.animate-pulse-subtle {
|
|
animation: pulse-subtle 3s ease-in-out infinite;
|
|
}
|
|
|
|
/* Smooth Curved Clip Paths */
|
|
.curved-bottom-sm {
|
|
clip-path: ellipse(120% 100% at 50% 0%);
|
|
}
|
|
|
|
.curved-bottom-lg {
|
|
clip-path: ellipse(150% 100% at 50% 0%);
|
|
}
|
|
|
|
.curved-top-lg {
|
|
clip-path: ellipse(150% 100% at 50% 100%);
|
|
}
|
|
|
|
/* Glassmorphism */
|
|
.glass-panel {
|
|
background: rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.glass-panel-dark {
|
|
background: rgba(30, 6, 39, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Card hover states */
|
|
.premium-card {
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
.premium-card:hover {
|
|
transform: translateY(-6px) scale(1.01);
|
|
box-shadow: 0 20px 35px -10px rgba(18, 2, 23, 0.15);
|
|
}
|
|
|
|
.premium-card-dark {
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
.premium-card-dark:hover {
|
|
transform: translateY(-6px) scale(1.01);
|
|
box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
|
|
border-color: var(--brand-accent);
|
|
}
|
|
|
|
/* Hero-only clipped background layers */
|
|
@media (min-width: 1024px) {
|
|
.hero {
|
|
position: relative;
|
|
margin-top: 0;
|
|
min-height: 500px;
|
|
overflow: visible;
|
|
padding-bottom: 100px;
|
|
background:
|
|
radial-gradient(circle at 62% 48%, rgba(108, 14, 128, 0.7), transparent 36%),
|
|
radial-gradient(circle at 25% 38%, rgba(55, 0, 74, 0.62), transparent 34%),
|
|
linear-gradient(135deg, #09000e 0%, #17001f 42%, #2c0038 70%, #0b0010 100%);
|
|
}
|
|
|
|
.hero-dark-panel {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero-dark-panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at 68% 56%, rgba(222, 150, 249, 0.22), transparent 26%),
|
|
linear-gradient(90deg, rgba(5, 0, 8, 0.34), transparent 48%, rgba(5, 0, 8, 0.12));
|
|
opacity: 0.9;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* Right column occupies exactly 52% of width to ensure diagonal doesn't clip */
|
|
.hero-visual-layer {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 52%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
filter: none;
|
|
overflow: hidden;
|
|
animation: hero-bike-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.hero-visual-panel {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: #E7D3EF;
|
|
clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero-visual-image {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 60%;
|
|
height: 60%;
|
|
left: 10%; /* Shift logo right to account for diagonal clip path visually */
|
|
transform-origin: center;
|
|
}
|
|
|
|
.hero-visual-image img {
|
|
animation: hero-bike-float 5.5s ease-in-out 900ms infinite;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.hero-map-layer {
|
|
position: absolute;
|
|
width: 35%;
|
|
left: -5%;
|
|
top: 20px;
|
|
height: 280px;
|
|
opacity: 0.10;
|
|
z-index: 1;
|
|
mix-blend-mode: normal;
|
|
animation: none;
|
|
}
|
|
|
|
.hero-map-layer img {
|
|
filter: brightness(0.6) contrast(1.1);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Left column occupies exactly 46% of width to avoid diagonal overlap */
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 3;
|
|
width: 46%;
|
|
max-width: 46%;
|
|
padding-top: 94px;
|
|
animation: hero-copy-enter 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.hero-stage {
|
|
padding-left: clamp(72px, 7.5vw, 150px);
|
|
padding-right: clamp(32px, 4vw, 80px);
|
|
min-height: 600px;
|
|
}
|
|
|
|
.service-cards-wrapper {
|
|
position: relative;
|
|
z-index: 10;
|
|
margin-top: -85px;
|
|
padding-left: var(--spacing-margin-desktop);
|
|
padding-right: var(--spacing-margin-desktop);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.hero {
|
|
position: relative;
|
|
margin-top: 0;
|
|
background: #120018;
|
|
padding-bottom: 110px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.hero-dark-panel {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: #120018;
|
|
overflow: hidden;
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero-map-layer {
|
|
position: absolute;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 10%;
|
|
height: 300px;
|
|
opacity: 0.08;
|
|
z-index: 1;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
.hero-map-layer img {
|
|
filter: brightness(0.5) contrast(1);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 3;
|
|
width: 100%;
|
|
padding-top: 60px;
|
|
padding-bottom: 24px;
|
|
padding-left: var(--spacing-margin-mobile);
|
|
padding-right: var(--spacing-margin-mobile);
|
|
}
|
|
|
|
.hero-visual-layer {
|
|
display: none;
|
|
}
|
|
|
|
.service-cards-wrapper {
|
|
position: relative;
|
|
z-index: 20;
|
|
margin-top: -48px;
|
|
overflow-x: auto;
|
|
padding-left: var(--spacing-margin-mobile);
|
|
padding-right: var(--spacing-margin-mobile);
|
|
}
|
|
}
|
|
|
|
/* Animated Route SVG Lines */
|
|
@keyframes stroke-dash {
|
|
to {
|
|
stroke-dashoffset: -20;
|
|
}
|
|
}
|
|
|
|
.animate-route {
|
|
animation: stroke-dash 2s linear infinite;
|
|
}
|
|
|
|
@keyframes hero-copy-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(18px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes hero-bike-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(34px) scale(0.98);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes hero-bike-float {
|
|
0%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
@keyframes hero-map-drift {
|
|
from {
|
|
transform: translate3d(0, 0, 0) scale(1);
|
|
}
|
|
to {
|
|
transform: translate3d(18px, -8px, 0) scale(1.03);
|
|
}
|
|
}
|
|
|