@@ -9,19 +9,19 @@ pub fn Hero() -> impl IntoView {
99 let h = c. hero ;
1010 let stats = h. stats . clone ( ) ;
1111 view ! {
12- <section class="hero-section grid grid-cols-1 md :grid-cols-12 border-b" >
13- <div class="hidden md :flex md :col-span-2 p-[clamp(16px,2.5vw,32px)] flex-col justify-center border-r" >
12+ <section class="hero-section grid grid-cols-1 lg :grid-cols-12 border-b" >
13+ <div class="hidden lg :flex lg :col-span-2 p-[clamp(16px,2.5vw,32px)] flex-col justify-center border-r" >
1414 <p class="font-sans text-[0.6rem] font-medium tracking-normal uppercase text-muted [writing-mode:vertical-rl] [text-orientation:mixed]" >{ c. meta. edition} </p>
1515 </div>
16- <div class="col-span-full md :col-span-6 min-w-0 p-[clamp(32px,5vw,80px)] flex flex-col justify-center border-r" >
17- <h1 class="hero-title font-serif text-[clamp(2rem,8.5vw,7.5rem)] font-black leading-[0.95] tracking-normal" >
16+ <div class="hero-copy col-span-full lg :col-span-6 min-w-0 p-[clamp(32px,5vw,80px)] flex flex-col justify-center border-r" >
17+ <h1 class="hero-title font-serif font-black leading-[0.95] tracking-normal" >
1818 <span class="line" >{ h. headline_1} </span>
1919 <span class="line italic" >{ h. headline_2} </span>
2020 </h1>
2121 <p class="hero-body text-[clamp(0.85rem,1.1vw,1rem)] leading-[1.7] text-muted max-w-[560px] mt-7" >{ h. body} </p>
2222 </div>
23- <div class="col-span-full md :col-span-4 flex flex-col min-h-0" >
24- <figure class="portrait-panel relative flex-1 min-h-[360px] md :min-h-[420px] border-b overflow-hidden bg-bg-dark" >
23+ <div class="col-span-full lg :col-span-4 flex flex-col min-h-0" >
24+ <figure class="portrait-panel relative flex-1 min-h-[360px] lg :min-h-[420px] border-b overflow-hidden bg-bg-dark" >
2525 <img
2626 src=h. portrait
2727 alt=h. portrait_alt
@@ -38,10 +38,9 @@ pub fn Hero() -> impl IntoView {
3838 let has_sub = !s. sublabel. is_empty( ) ;
3939 view! {
4040 <div class="stat-block flex flex-col justify-center gap-2 p-[clamp(16px,2.5vw,32px)]" >
41- <p class="font-serif text-[clamp(2rem,4vw,3.2rem)] font-black text-red leading-[0.9] tracking-normal" >
42- <span class="whitespace-nowrap" >{ s. num} </span>
43- " "
44- { s. label}
41+ <p class="stat-headline font-serif font-black text-red tracking-normal" >
42+ <span class="stat-line" >{ s. num} </span>
43+ <span class="stat-line" >{ s. label} </span>
4544 </p>
4645 { has_sub. then( || view! {
4746 <span class="text-[0.55rem] tracking-normal text-muted/80 normal-case leading-snug" >{ s. sublabel} </span>
0 commit comments