/* ELORX – styles shared by the "case" page family (extracted 1:1 from the former inline CSS) */
:root {
--bg-base: #ffffff;
--text-main: #1d1d1f;
--text-muted: #6e6e73;
--accent: #4a6b53;
--sage: #9CA996;
--glass: rgba(255, 255, 255, 0.7);
--glass-border: rgba(0, 0, 0, 0.05);
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg-base);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
#magic-cursor {
display: none !important;
position: fixed; top: 0; left: 0; width: 12px; height: 12px;
background: #000; border-radius: 50%; pointer-events: none; z-index: 10000;
transform: translate(-50%, -50%);
transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1), height 0.3s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s;
}
#cursor-spotlight {
position: fixed; top: 0; left: 0; width: 500px; height: 500px;
background: radial-gradient(circle, rgba(74, 107, 83, 0.05) 0%, rgba(255,255,255,0) 70%);
border-radius: 50%; pointer-events: none; z-index: 9999;
transform: translate(-50%, -50%);
}
.ripple {
position: fixed; border-radius: 50%; border: 1px solid rgba(74, 107, 83, 0.5);
pointer-events: none; z-index: 9998; transform: translate(-50%, -50%);
animation: rippleAnim 0.6s ease-out forwards;
}
header {
position: sticky; top: 0; left: 0; width: 100%;
z-index: 1000; pointer-events: auto;
display: flex; justify-content: space-between; align-items: center;
background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--glass-border);
padding: 20px 8vw;
}
.nav-brand img { height: 28px; transition: transform 0.3s; }
h2 {
font-size: clamp(1.8rem, 3vw, 2.2rem);
font-weight: 600;
letter-spacing: -0.02em;
margin-bottom: 20px;
color: #111;
}
p {
font-size: 1.15rem;
font-weight: 400;
color: #444;
margin-bottom: 25px;
line-height: 1.7;
}
.section-label {
font-family: 'Space Mono', monospace;
font-size: 13px;
color: var(--accent);
display: block;
margin-bottom: 10px;
letter-spacing: 0.1em;
text-transform: uppercase;
font-weight: 600;
}
.hero-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.hero-img-wrapper:hover .hero-img {
transform: scale(1.03);
}
.tech-box h3 {
font-size: 1.1rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--accent);
margin-bottom: 15px;
}
.tech-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.tech-tag {
background: rgba(74, 107, 83, 0.08);
color: var(--accent);
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
border: 1px solid rgba(74, 107, 83, 0.15);
}
footer {
padding: 100px 5vw;
text-align: center;
border-top: 1px solid var(--glass-border);
background: transparent;
}
.magnetic-wrap {
position: relative;
display: inline-block;
padding: 40px;
margin-top: 20px;
}
.pulse-ring {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 260px;
height: 70px;
border-radius: 35px;
background: rgba(74, 107, 83, 0.15);
z-index: 1;
animation: pulse 2.5s infinite cubic-bezier(0.19, 1, 0.22, 1);
pointer-events: none;
}
@keyframes pulse {
0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}
.magnetic-btn {
display: inline-flex;
justify-content: center;
align-items: center;
width: 260px;
height: 70px;
background: var(--text-main);
color: #fff;
border-radius: 35px;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s, box-shadow 0.3s;
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
position: relative;
z-index: 2;
pointer-events: none;
border: 1px solid rgba(255,255,255,0.1);
}
.magnetic-wrap:hover .magnetic-btn {
background: var(--accent);
box-shadow: 0 0 25px rgba(74, 107, 83, 0.5);
}
@media (pointer: coarse) {
#magic-cursor, #cursor-spotlight { display: none !important; }
* { cursor: auto !important; }
}
