161 lines
2.8 KiB
CSS
161 lines
2.8 KiB
CSS
:root {
|
|
--abyss: #000000;
|
|
--iron: #181818;
|
|
--charcoal: #202020;
|
|
--ash: #7d7d7d;
|
|
--steel: #969696;
|
|
--mist: #e6e6e6;
|
|
--white: #ffffff;
|
|
--gold: #ffc000;
|
|
--gold-deep: #917300;
|
|
--gold-soft: #ffce3e;
|
|
--cyan: #29abe2;
|
|
--blue: #3860be;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--abyss);
|
|
color: var(--white);
|
|
font-family: var(--font-archivo), "Helvetica Neue", Arial, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: color 160ms ease;
|
|
}
|
|
a:hover {
|
|
color: var(--blue);
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
color: inherit;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--gold);
|
|
color: var(--abyss);
|
|
}
|
|
|
|
/* Reveal animation */
|
|
.reveal {
|
|
opacity: 0;
|
|
transform: translateY(32px);
|
|
transition: opacity 600ms ease,
|
|
transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
}
|
|
.reveal.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.001ms !important;
|
|
transition-duration: 0.001ms !important;
|
|
}
|
|
}
|
|
|
|
/* Buttons shared */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 18px 28px;
|
|
font-size: 14.4px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.2px;
|
|
text-transform: uppercase;
|
|
border: 1px solid transparent;
|
|
border-radius: 0;
|
|
transition:
|
|
background 200ms ease,
|
|
color 200ms ease,
|
|
border-color 200ms ease,
|
|
opacity 200ms ease;
|
|
cursor: pointer;
|
|
}
|
|
.btn--accent {
|
|
background: var(--gold);
|
|
color: var(--abyss);
|
|
padding: 22px 32px;
|
|
font-size: 16px;
|
|
}
|
|
.btn--accent:hover {
|
|
background: var(--gold-deep);
|
|
color: var(--white);
|
|
}
|
|
.btn--ghost {
|
|
background: transparent;
|
|
color: var(--white);
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
opacity: 0.85;
|
|
}
|
|
.btn--ghost:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: var(--white);
|
|
color: var(--white);
|
|
opacity: 1;
|
|
}
|
|
.btn--small {
|
|
padding: 10px 14px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Shared section head */
|
|
.section-head {
|
|
max-width: 1200px;
|
|
margin: 0 auto 56px;
|
|
padding: 0 40px;
|
|
}
|
|
.section-eyebrow {
|
|
display: inline-block;
|
|
font-size: 12px;
|
|
letter-spacing: 0.96px;
|
|
color: var(--gold);
|
|
text-transform: uppercase;
|
|
margin-bottom: 16px;
|
|
padding: 6px 10px;
|
|
border: 1px solid var(--gold);
|
|
}
|
|
.section-title {
|
|
font-size: clamp(32px, 5vw, 72px);
|
|
font-weight: 900;
|
|
line-height: 0.98;
|
|
letter-spacing: -0.01em;
|
|
margin: 0 0 24px;
|
|
text-transform: uppercase;
|
|
text-wrap: balance;
|
|
}
|
|
.section-lede {
|
|
max-width: 680px;
|
|
font-size: 16px;
|
|
letter-spacing: 0.12px;
|
|
color: var(--steel);
|
|
text-transform: uppercase;
|
|
margin: 0;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.section-head {
|
|
padding: 0 20px;
|
|
}
|
|
}
|