Skip to content

Commit f46122e

Browse files
authored
Website Update
1 parent 9a71b0f commit f46122e

2 files changed

Lines changed: 30 additions & 27 deletions

File tree

docs/assets/css/style.css

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,10 +1031,22 @@ a {
10311031
isolation: isolate;
10321032
}
10331033

1034+
.hero-stage::after {
1035+
content: "";
1036+
position: absolute;
1037+
left: 0;
1038+
right: 0;
1039+
bottom: 0;
1040+
z-index: 2;
1041+
height: clamp(10rem, 28%, 16rem);
1042+
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.44) 38%, rgba(0, 0, 0, 0.82) 74%, #000 100%);
1043+
pointer-events: none;
1044+
}
1045+
10341046
.hero-image-wrap {
10351047
position: absolute;
10361048
left: 50%;
1037-
top: 50%;
1049+
top: 48.8%;
10381050
z-index: 1;
10391051
width: min(100%, var(--hero-image-size));
10401052
transform: translate(-50%, -50%);
@@ -1115,7 +1127,7 @@ a {
11151127
.hero-shape-fill,
11161128
.hero-shape-glow {
11171129
font-family: "Rock Salt", "Segoe Script", cursive;
1118-
font-size: min(clamp(1.7rem, 3.1vw, 3.55rem), calc(var(--hero-side-space) / 4.7));
1130+
font-size: clamp(1.55rem, calc(var(--hero-side-space) / 5.35), 2.65rem);
11191131
line-height: 0.92;
11201132
letter-spacing: 0.015em;
11211133
}
@@ -1124,7 +1136,7 @@ a {
11241136
.hero-unseen-fill,
11251137
.hero-unseen-glow {
11261138
font-family: var(--heading-font);
1127-
font-size: min(clamp(2rem, 3.7vw, 4rem), calc(var(--hero-side-space) / 8.25));
1139+
font-size: clamp(1.95rem, calc(var(--hero-side-space) / 7.6), 3.15rem);
11281140
font-weight: 800;
11291141
line-height: 0.9;
11301142
letter-spacing: 0.008em;
@@ -1272,7 +1284,7 @@ a {
12721284

12731285
.hero-subtitle {
12741286
margin: 0;
1275-
max-width: 24.5ch;
1287+
max-width: 31ch;
12761288
color: var(--muted);
12771289
font-size: clamp(1rem, 1.7vw, 1.24rem);
12781290
line-height: 1.6;
@@ -2131,21 +2143,21 @@ a {
21312143

21322144
.hero-shape-fill,
21332145
.hero-shape-glow {
2134-
font-size: min(clamp(1.55rem, 2.8vw, 2.7rem), calc(var(--hero-side-space) / 4.65));
2146+
font-size: clamp(1.35rem, calc(var(--hero-side-space) / 5.4), 2.2rem);
21352147
}
21362148

21372149
.hero-unseen-outline,
21382150
.hero-unseen-fill,
21392151
.hero-unseen-glow {
2140-
font-size: min(clamp(1.85rem, 3.35vw, 3.2rem), calc(var(--hero-side-space) / 8.15));
2152+
font-size: clamp(1.65rem, calc(var(--hero-side-space) / 8.1), 2.55rem);
21412153
}
21422154

21432155
.hero-copy {
21442156
gap: 1rem;
21452157
}
21462158

21472159
.hero-subtitle {
2148-
max-width: 25ch;
2160+
max-width: 28ch;
21492161
}
21502162

21512163
.section-head h2 {
@@ -2208,7 +2220,7 @@ a {
22082220
}
22092221

22102222
.hero-image-wrap {
2211-
top: 50%;
2223+
top: 47.8%;
22122224
width: min(100%, var(--hero-image-size));
22132225
}
22142226

@@ -2237,30 +2249,30 @@ a {
22372249
}
22382250

22392251
.hero-tagline-side--right {
2240-
bottom: clamp(7.55rem, 19vw, 9.6rem);
2252+
bottom: clamp(8.8rem, 22vw, 10.9rem);
22412253
}
22422254

22432255
.hero-shape-fill,
22442256
.hero-shape-glow {
2245-
font-size: clamp(1.65rem, 7.1vw, 3rem);
2257+
font-size: clamp(1.45rem, 5.9vw, 2.35rem);
22462258
}
22472259

22482260
.hero-unseen-outline,
22492261
.hero-unseen-fill,
22502262
.hero-unseen-glow {
2251-
font-size: clamp(2.2rem, 10.6vw, 4rem);
2263+
font-size: clamp(1.8rem, 8.7vw, 3.1rem);
22522264
text-align: center;
22532265
}
22542266

22552267
.hero-copy {
22562268
flex-direction: column;
22572269
align-items: flex-start;
2258-
gap: 1rem;
2270+
gap: 1.45rem;
22592271
padding-inline: 0;
22602272
}
22612273

22622274
.hero-subtitle {
2263-
max-width: min(100%, 26ch);
2275+
max-width: min(100%, 28ch);
22642276
font-size: 1.02rem;
22652277
line-height: 1.52;
22662278
}
@@ -2394,13 +2406,13 @@ a {
23942406

23952407
.hero-shape-fill,
23962408
.hero-shape-glow {
2397-
font-size: min(clamp(1.45rem, 2.45vw, 2.35rem), calc(var(--hero-side-space) / 4.7));
2409+
font-size: clamp(1.25rem, calc(var(--hero-side-space) / 5.7), 2rem);
23982410
}
23992411

24002412
.hero-unseen-outline,
24012413
.hero-unseen-fill,
24022414
.hero-unseen-glow {
2403-
font-size: min(clamp(1.8rem, 3vw, 2.9rem), calc(var(--hero-side-space) / 8.2));
2415+
font-size: clamp(1.5rem, calc(var(--hero-side-space) / 8.7), 2.35rem);
24042416
}
24052417

24062418
.discipline-stack-shell {

docs/assets/js/shell.js

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,18 +1222,9 @@
12221222
return;
12231223
}
12241224

1225-
const applyReady = () => {
1226-
requestAnimationFrame(() => {
1227-
body.classList.add("hero-ready");
1228-
});
1229-
};
1230-
1231-
if (document.fonts?.ready) {
1232-
document.fonts.ready.then(applyReady).catch(applyReady);
1233-
return;
1234-
}
1235-
1236-
applyReady();
1225+
requestAnimationFrame(() => {
1226+
body.classList.add("hero-ready");
1227+
});
12371228
}
12381229

12391230
function initHeroViewportLock() {

0 commit comments

Comments
 (0)