Skip to content

Commit 7648cb8

Browse files
minsuk-sungclaude
andcommitted
fix(mobile): keep hero navy mark beside the copy (like desktop) instead of floating above-left; compact title/eyebrow; clean eyebrow wrap
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0c49d8c commit 7648cb8

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

assets/css/main.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,11 @@ html[data-lang="en"] .lang [data-lang-set="en"] { color: var(--navy); font-weigh
343343

344344
/* ── responsive ─────────────────────────────────────────── */
345345
@media (max-width: 920px) {
346-
.hero__in { grid-template-columns: 1fr; }
347-
.hero__device { order: -1; justify-self: start; aspect-ratio: auto; }
348-
.hero__device img { width: 104px; }
346+
/* keep the navy mark beside the copy (like desktop), just compact */
347+
.hero__in { display: flex; align-items: center; gap: clamp(18px, 4vw, 40px); }
348+
.hero__text { flex: 1 1 auto; min-width: 0; }
349+
.hero__device { flex: 0 0 auto; aspect-ratio: auto; }
350+
.hero__device img { width: clamp(78px, 21vw, 132px); }
349351
.hero__ring { display: none; }
350352
.cols { grid-template-columns: 1fr; }
351353
.col-side { position: static; }
@@ -356,6 +358,11 @@ html[data-lang="en"] .lang [data-lang-set="en"] { color: var(--navy); font-weigh
356358
@media (max-width: 720px) {
357359
body { font-size: 16px; }
358360
.brand__logo { height: 25px; }
361+
/* compact hero so the navy mark sits beside the copy without crowding */
362+
.hero__title { font-size: clamp(1.8rem, 7.4vw, 2.35rem); }
363+
.hero .eyebrow { display: block; font-size: 10.5px; letter-spacing: 0.14em; }
364+
.hero .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 10px; }
365+
.hero__device img { width: clamp(72px, 20vw, 110px); }
359366
.navtoggle { display: block; order: 3; }
360367
.nav {
361368
position: fixed; inset: 62px 0 auto 0; background: var(--paper);

0 commit comments

Comments
 (0)