89 lines
1.7 KiB
CSS
89 lines
1.7 KiB
CSS
.home-hero {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
min-height: 768px;
|
|
margin-inline: calc(0px - var(--page-gutter));
|
|
color: var(--ink);
|
|
background: var(--wash);
|
|
}
|
|
.home-hero__shade {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
background: linear-gradient(
|
|
90deg,
|
|
#f5f3eef5 0%,
|
|
#f5f3eed1 42%,
|
|
#f5f3ee5c 70%,
|
|
transparent 100%
|
|
);
|
|
}
|
|
.home-hero__content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 900px;
|
|
padding: 65px 62px 90px;
|
|
}
|
|
.home-hero__title {
|
|
margin: 38px 0 25px;
|
|
font-family: var(--serif);
|
|
font-size: clamp(54px, 6.7vw, 94px);
|
|
font-weight: 400;
|
|
line-height: 1.02;
|
|
letter-spacing: -0.055em;
|
|
}
|
|
.home-hero__description {
|
|
max-width: 400px;
|
|
margin: 0 0 30px;
|
|
color: var(--muted);
|
|
font-size: 15px;
|
|
line-height: 1.8;
|
|
}
|
|
.home-hero__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
.home-hero__bottom {
|
|
position: absolute;
|
|
z-index: 2;
|
|
bottom: 0;
|
|
left: var(--page-gutter);
|
|
right: var(--page-gutter);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 20px 0;
|
|
border-top: 1px solid #282a2330;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
}
|
|
.home-hero__tagline {
|
|
font-size: clamp(14px, 1.2vw, 16px);
|
|
font-weight: 500;
|
|
color: var(--ink);
|
|
letter-spacing: 0.01em;
|
|
}
|
|
@media (max-width: 760px) {
|
|
.home-hero {
|
|
min-height: 560px;
|
|
}
|
|
.home-hero__content {
|
|
padding: 42px var(--page-gutter) 130px;
|
|
}
|
|
.home-hero__title {
|
|
font-size: clamp(44px, 8.9vw, 68px);
|
|
margin-top: 32px;
|
|
}
|
|
.home-hero__bottom {
|
|
left: var(--page-gutter);
|
|
right: var(--page-gutter);
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 15px 0;
|
|
}
|
|
}
|