92 lines
2.1 KiB
CSS
92 lines
2.1 KiB
CSS
/* ── Animations ── */
|
|
@keyframes fade-up {
|
|
from { opacity: 0; transform: translateY(24px); }
|
|
to { opacity: 1; transform: none; }
|
|
}
|
|
|
|
.fade-up {
|
|
opacity: 0;
|
|
animation: fade-up 0.8s ease forwards;
|
|
}
|
|
|
|
.hero-eyebrow {
|
|
font-family: var(--deepdrft-font-mono);
|
|
font-size: 0.65rem;
|
|
letter-spacing: 0.28em;
|
|
color: var(--deepdrft-green);
|
|
text-transform: uppercase;
|
|
margin-bottom: 1.8rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.hero-eyebrow::before {
|
|
content: '';
|
|
display: block;
|
|
width: 2.5rem;
|
|
height: 1px;
|
|
background: var(--deepdrft-green);
|
|
}
|
|
|
|
.hero-title {
|
|
font-family: var(--deepdrft-font-display);
|
|
font-size: clamp(4.5rem, 8vw, 8.5rem);
|
|
font-weight: 300;
|
|
line-height: 0.92;
|
|
letter-spacing: -0.02em;
|
|
color: var(--deepdrft-page-text);
|
|
margin-bottom: 0.5rem;
|
|
animation-delay: 0.22s;
|
|
}
|
|
|
|
.hero-title em {
|
|
font-style: italic;
|
|
color: var(--deepdrft-green-accent);
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-family: var(--deepdrft-font-display);
|
|
font-size: clamp(1rem, 2vw, 1.35rem);
|
|
font-weight: 300;
|
|
font-style: italic;
|
|
color: var(--deepdrft-page-text-muted);
|
|
margin-bottom: 3rem;
|
|
letter-spacing: 0.04em;
|
|
animation-delay: 0.34s;
|
|
}
|
|
|
|
.hero-desc {
|
|
font-family: var(--deepdrft-font-body);
|
|
font-size: 0.92rem;
|
|
line-height: 1.75;
|
|
color: var(--deepdrft-page-text);
|
|
opacity: 0.7;
|
|
max-width: 36ch;
|
|
margin-bottom: 3rem;
|
|
animation-delay: 0.44s;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
animation-delay: 0.54s;
|
|
}
|
|
|
|
@media (max-width: 599px) {
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|
|
|
|
/* Dark-mode accent override (Phase 18, Wave 3).
|
|
.hero-title and .hero-desc bind --deepdrft-page-text directly above (theme-aware).
|
|
The em italic is the only element needing an explicit dark lift:
|
|
--deepdrft-green (#1A3C34) is low-contrast on the navy ground; lift to green-accent. */
|
|
:global(.deepdrft-theme-dark) .hero-title em {
|
|
color: var(--deepdrft-green-accent);
|
|
}
|