:root{--bg:#9cc3ea;--ink:#17365d;--paper:#fffaf0;--olive:#2c63a8;--sage:#2b4f7d;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;margin:0}
body{min-height:100vh;background:#fff;color:var(--ink);font-family:'Gaegu','Comic Sans MS',cursive;overflow-x:hidden}
section{min-height:clamp(640px,100vh,900px);display:flex;align-items:center;justify-content:center;padding:24px}
#s1{background:#A2D2FF;color:#1f3f63;flex-direction:column;text-align:center;cursor:pointer;gap:0}
h1{font-family:'Lora',Georgia,serif;font-weight:400;letter-spacing:.06em;font-size:clamp(1.9rem,8vw,3.6rem);line-height:1.1}
.sub{font-family:'Caveat','Gaegu',cursive;font-style:italic;color:#2c5a86;font-size:clamp(1.8rem,7vw,3rem);margin-top:2px}
.stage{position:relative;width:min(84vw,430px);margin-top:clamp(10px,4vh,36px)}
#env{width:100%;display:block;transform:rotate(-6deg);animation:boing 1.8s ease-in-out infinite;transform-origin:center bottom;filter:drop-shadow(0 10px 14px rgba(0,0,0,.35))}
@keyframes boing{0%{transform:rotate(-6deg) scale(1)}15%{transform:rotate(-6deg) scale(1.14,.9)}35%{transform:rotate(-6deg) scale(.92,1.1)}55%{transform:rotate(-6deg) scale(1.07,.96)}75%{transform:rotate(-6deg) scale(.98,1.02)}100%{transform:rotate(-6deg) scale(1)}}
#env.pop{animation:pop .6s ease forwards}
@keyframes pop{0%{transform:rotate(-6deg) scale(1)}40%{transform:rotate(-6deg) scale(1.3)}100%{transform:rotate(-6deg) scale(0);opacity:0}}
.hint{position:absolute;right:-2%;bottom:-62px;display:flex;align-items:flex-end;gap:6px;color:#2c5a86;font-weight:700;font-size:clamp(1rem,4vw,1.35rem);line-height:1.15;text-align:center}
.hint svg{width:58px;height:58px;flex:0 0 auto;animation:wob 1.4s ease-in-out infinite}
@keyframes wob{50%{transform:translate(-3px,-5px)}}
#s2{display:none;flex-direction:column;gap:clamp(22px,5vw,40px);background:#B7D8EA;color:#1f3f63;padding:48px clamp(24px,7vw,120px) 64px}
.row{max-width:none;display:flex;align-items:center;justify-content:center;gap:clamp(4px,1.5vw,20px);width:auto}
.row .pic{width:min(42vw,340px);flex:0 0 auto}
.txt{flex:0 1 auto;text-align:center}
#s2.open{display:flex}
@keyframes fl{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
@keyframes fr{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes fu{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.txt h2{font-family:'Gaegu',cursive;font-weight:700;letter-spacing:.04em;line-height:1;font-size:clamp(1.3rem,5.5vw,2.4rem);color:#1f3f63;margin-bottom:0}
.txt p{font-weight:400;line-height:1.5;font-size:clamp(1.05rem,4vw,1.5rem)}
.letter{width:100%;max-width:none;color:#1f3f63;font-family:'Gaegu','Comic Sans MS',cursive;padding:0 clamp(4px,3vw,16px);line-height:1.5;font-size:clamp(1.15rem,4.4vw,1.5rem)}
.letter p{margin-bottom:1em}
.letter .sig{text-align:right;margin:1.4em 0 0}

/* ===== Section 3: botol kejutan (pink tua + hijau lumut) ===== */
#s3{display:none;flex-direction:column;text-align:center;background:#A2D2FF;color:#1f3f63;padding:56px 16px 64px;
  --glass:rgba(255,255,255,.28);--edge:#e8f4ff;--cork:#5b9bd0;--accent:#3d7db5;--card:#f4faff;--shadow:rgba(20,50,90,.3)}
#s3.open{display:flex}
#s3 h2{font-family:'Lora',Georgia,serif;font-weight:500;font-size:clamp(1.8rem,7vw,2.8rem);color:#1f3f63;margin-bottom:6px}
#s3 .sub3{color:#2c5a86;max-width:34ch;line-height:1.4;font-size:clamp(1.15rem,4.4vw,1.5rem);margin-bottom:18px}
#s3 .stage3{position:relative;width:min(210px,60vw);margin:6px auto 0}
#s3 .bottle{position:relative;transform-origin:50% 90%}
#s3 .cork{width:34%;height:28px;margin:0 auto;background:var(--cork);border-radius:8px 8px 4px 4px;box-shadow:inset 0 -5px 0 rgba(0,0,0,.15);position:relative;z-index:2}
#s3 .neck{width:36%;height:46px;margin:-4px auto 0;border:3px solid var(--edge);border-bottom:0;border-radius:10px 10px 0 0;background:var(--glass)}
#s3 .body{position:relative;width:100%;aspect-ratio:210/380;margin-top:-3px;border:3px solid var(--edge);border-radius:38% 38% 14% 14%/22% 22% 8% 8%;background:var(--glass);overflow:hidden;box-shadow:0 18px 30px -12px var(--shadow),inset 12px 0 18px rgba(255,255,255,.2)}
#s3 .body::after{content:"";position:absolute;left:9%;top:12%;width:7%;height:48%;border-radius:20px;background:rgba(255,255,255,.35);pointer-events:none}
#s3 .item{position:absolute;width:42px;height:42px;border:0;border-radius:11px;padding:0;cursor:pointer;display:grid;place-items:center;background:var(--c);
  box-shadow:inset 0 3px 0 rgba(255,255,255,.45),inset 0 -5px 0 rgba(0,0,0,.14),inset 3px 0 0 rgba(255,255,255,.2),0 4px 0 rgba(0,0,0,.22);
  transition:left .22s ease,top .22s ease,transform .22s ease,opacity .3s,filter .3s}
#s3 .item:hover{transform:scale(1.15) rotate(var(--r,0deg));z-index:3}
#s3 .item:focus-visible,#s3 .btn:focus-visible,#s3 .close:focus-visible{outline:3px solid #1f3f63;outline-offset:3px}
#s3 .item svg{width:26px;height:26px;display:block;pointer-events:none}
#s3 .item.read{opacity:.5;filter:saturate(.5)}
#s3 .item.pick{animation:pick .6s ease;z-index:4}
@keyframes pick{50%{transform:scale(1.5) rotate(10deg)}}
#s3 .shaking{animation:shake .12s linear infinite}
@keyframes shake{0%{transform:translate(0,0) rotate(0)}25%{transform:translate(-9px,-4px) rotate(-6deg)}50%{transform:translate(7px,3px) rotate(5deg)}75%{transform:translate(-6px,-3px) rotate(-4deg)}100%{transform:translate(0,0) rotate(0)}}
#s3 .btn{margin-top:26px;font:inherit;font-weight:700;font-size:1.3rem;color:#ffffff;background:var(--accent);border:0;border-radius:999px;padding:12px 30px;cursor:pointer;box-shadow:0 5px 0 rgba(0,0,0,.22)}
#s3 .btn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.22)}
#s3 .btn:disabled{opacity:.6;cursor:wait}
#s3 .count{margin-top:14px;color:#2c5a86;font-size:1.15rem}
#s3 .overlay{position:fixed;inset:0;background:rgba(15,35,60,.5);display:none;align-items:center;justify-content:center;padding:20px;z-index:10}
#s3 .overlay.open{display:flex}
#s3 .modal{background:var(--card);color:#1f3f63;width:min(380px,100%);border-radius:22px;padding:30px 26px 26px;box-shadow:0 24px 60px var(--shadow);position:relative;animation:rise .3s ease}
@keyframes rise{from{transform:translateY(24px) scale(.94);opacity:0}}
#s3 .modal .emoji{width:64px;height:64px;border-radius:18px;background:var(--c);display:grid;place-items:center;margin:0 auto 14px;box-shadow:inset 0 3px 0 rgba(255,255,255,.45),inset 0 -5px 0 rgba(0,0,0,.14),0 4px 0 rgba(0,0,0,.2)}
#s3 .modal .emoji svg{width:44px;height:44px}
#s3 .modal h3{font-family:'Lora',Georgia,serif;font-weight:500;margin-bottom:10px;font-size:1.5rem;color:#2f6aa3}
#s3 .modal p{margin-bottom:20px;line-height:1.5;color:#3b5a78;font-size:1.3rem}
#s3 .modal .btn{margin-top:0}
#s3 .close{position:absolute;top:10px;right:12px;border:0;background:none;font-size:26px;color:#2f6aa3;cursor:pointer;line-height:1}
@media (prefers-reduced-motion:reduce){#s3 .shaking,#s3 .item.pick,#s3 .modal{animation:none}#s3 .item{transition:none}}

/* ===== Responsive ===== */
/* HP kecil (target 360px) */
@media (max-width:480px){
  section{min-height:600px;padding:20px}
  h1{font-size:clamp(1.5rem,7.6vw,2.2rem)}
  .sub{font-size:clamp(1.5rem,7vw,2rem)}
  .stage{width:76vw;margin-top:10px;margin-bottom:56px}
  .hint{bottom:-54px;font-size:1rem}
  .hint svg{width:44px;height:44px}
  #s2{padding:36px 18px 48px;gap:24px}
  .row{gap:10px}
  .row .pic{width:36vw}
  .txt h2{font-size:clamp(1.15rem,6.2vw,1.6rem)}
  .letter{font-size:1.05rem;line-height:1.55;padding:0}
  #s3{padding:44px 16px 52px}
  #s3 h2{font-size:clamp(1.4rem,7vw,1.8rem)}
  #s3 .sub3{font-size:1.05rem;margin-bottom:14px}
  #s3 .btn{font-size:1.15rem;padding:10px 26px;margin-top:22px}
  #s3 .count{font-size:1rem}
  #s3 .modal{padding:26px 20px 22px}
  #s3 .modal h3{font-size:1.35rem}
  #s3 .modal p{font-size:1.15rem}
}
/* Tablet (target 768px) */
@media (min-width:481px) and (max-width:1023px){
  .stage{width:min(62vw,430px)}
  #s2{padding:56px 48px 64px}
  .row .pic{width:min(36vw,300px)}
  .txt h2{font-size:clamp(1.8rem,5vw,2.6rem)}
  .letter{max-width:720px;margin:0 auto;font-size:1.3rem}
}
/* Desktop (target 1024px ke atas) */
@media (min-width:1024px){
  .stage{width:min(40vw,430px)}
  #s2{padding:72px 120px 80px}
  .row .pic{width:340px}
  .txt h2{font-size:clamp(2.2rem,3.6vw,3rem)}
  .letter{max-width:820px;margin:0 auto;font-size:1.5rem}
}

/* ===== Efek muncul (fade) + typewriter + drip antar section ===== */
body{--dh:max(140px,9.72vw)}
.js .fx{opacity:0;transform:translateY(24px);transition:opacity .9s ease var(--d,0s),transform .9s ease var(--d,0s)}
.js .fx-l{transform:translateX(-60px)}
.js .fx-r{transform:translateX(60px)}
.js .fx.in{opacity:1;transform:none}
.js .w{opacity:0;transition:opacity .3s ease}
.js .w.on{opacity:1}
#s2,#s3{position:relative}
.drip{position:absolute;top:-1px;left:0;right:0;height:var(--dh);overflow:hidden;pointer-events:none}
.drip svg{display:block;width:100%;height:100%}
.js .drip svg{transform:scaleY(.15);transform-origin:top;transition:transform 1.6s cubic-bezier(.25,1.35,.5,1)}
.js .drip.in svg{transform:none}
#s2,#s3{padding-top:calc(var(--dh) + 16px)}
@media (prefers-reduced-motion:reduce){.js .fx,.js .w,.js .drip svg{transition:none;opacity:1;transform:none}}

/* ===== Botol: pendek, muat satu layar dari judul sampai tombol Shake ===== */
#s3{--bw:clamp(120px,22svh,200px);min-height:100vh;min-height:100svh;padding-bottom:36px}
#s3 .stage3{width:var(--bw);margin-top:2px}
#s3 .neck{height:calc(var(--bw)*.2)}
#s3 .cork{height:calc(var(--bw)*.12)}
#s3 .body{aspect-ratio:210/290}
#s3 .item{width:calc(var(--bw)*.23);height:calc(var(--bw)*.23);min-width:26px;min-height:26px;border-radius:9px}
#s3 .item svg{width:64%;height:64%}
#s3 h2{margin-bottom:2px}
#s3 .sub3{margin-bottom:10px}
#s3 .btn{margin-top:18px}
#s3 .count{margin-top:10px}
@media (max-width:480px){#s3{--dh:104px;padding-bottom:28px}}


/* ===== Mobile: foto di atas, tulisan di bawahnya ===== */
@media (max-width:600px){
  .row{flex-direction:column;gap:14px}
  .row .pic{width:62vw}
  .txt h2{font-size:clamp(1.4rem,7.4vw,1.9rem)}
}

/* ===== Revisi: spasi baris, bottle lebih tinggi, foto mantul ===== */
.txt h2{line-height:1.3}
#s3{--bw:clamp(108px,19svh,190px)}
#s3 .body{aspect-ratio:210/350}
#s3 .sub3{max-width:46ch}
.pic{transform-origin:50% 100%}

/* ============================================================
   REVISI: tiap section = 1 layar penuh di HP, tablet, laptop
   ============================================================ */
html{scroll-snap-type:y proximity}
section,.pg{scroll-snap-align:start}
#s1,#s2,#s3{--dh:max(clamp(88px,11svh,150px),9.72vw)} /* 9.72vw = tinggi asli eskrim di layar lebar, supaya tidak terpotong */
section{min-height:100vh;min-height:100svh;padding:24px}

/* Section 2 = dua halaman penuh: (1) foto + judul, (2) surat */
#s2{display:none;padding:0;gap:0;min-height:0}
#s2.open{display:block}
.pg{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(16px,3svh,36px);padding:48px clamp(20px,6vw,120px)}
.pg1{padding-top:calc(var(--dh) + 16px)}
.pg2{padding-top:56px;padding-bottom:56px}
/* Tablet & desktop: surat sedikit lebih naik (ubah 12svh untuk atur seberapa naik) */
@media (min-width:481px){.pg2{padding-bottom:calc(110px + 12svh)}}

.row{flex-direction:row;width:100%;justify-content:center;gap:clamp(20px,5vw,80px)}
.row .pic{width:min(40vw,420px,50svh)}
.txt{max-width:min(46vw,560px)}

/* Layar potret (HP & tablet berdiri): foto di atas, judul di bawah, ukuran mengikuti tinggi layar */
@media (orientation:portrait){
  .row{flex-direction:column;gap:clamp(12px,2.5svh,28px)}
  .row .pic{width:min(66vw,36svh)}
  .txt{max-width:100%}
}

/* Surat: font lebih besar */
.letter{max-width:860px;margin:0 auto;padding:0;line-height:1.5;font-size:1.2rem}
@media (min-width:481px){.letter{font-size:clamp(1.45rem,2.6vw,1.75rem)}}

/* Judul ulang tahun */
.txt .hb{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;
  letter-spacing:0;line-height:1;padding:.5rem 1.6rem}
.hb::before,.hb::after{content:"";position:absolute;background:center/contain no-repeat;pointer-events:none}
.hb::before{top:0;right:0;width:1.7rem;height:1.7rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%23ffffff'/%3E%3C/svg%3E")}
.hb::after{bottom:.6rem;left:0;width:1.2rem;height:1.2rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.6 8.4L23 12l-8.4 2.6L12 23l-2.6-8.4L1 12l8.4-2.6z' fill='%237fb3e0'/%3E%3C/svg%3E")}
.hb-a{font-family:'Caveat','Gaegu',cursive;font-weight:500;font-size:clamp(2.2rem,9vw,3.6rem);color:#3d7db5;transform:rotate(-4deg);margin-bottom:-.15em}
.hb-b{font-family:'Lora',Georgia,serif;font-weight:500;font-size:clamp(4.4rem,26vw,8rem);line-height:.95;color:#ffffff;
  padding:0 .14em;text-shadow:0 3px 0 rgba(31,63,99,.3);
  background:linear-gradient(to top,transparent 8%,#A2D2FF 8% 42%,transparent 42%)}
.hb-c{font-weight:700;font-size:clamp(1.3rem,6vw,2.2rem);letter-spacing:.16em;color:#1f3f63;margin-top:.3em}
.hb-d{font-weight:700;font-size:clamp(1.9rem,8.6vw,3.3rem);letter-spacing:.04em;color:#2f6aa3;margin-top:.1em}

/* Foto: memantul hanya saat disentuh */
.pic{cursor:pointer;-webkit-tap-highlight-color:transparent}
.pic:focus-visible{outline:3px solid #1f3f63;outline-offset:6px}
.pic.bounce{animation:tuing .95s ease-out 1}
@keyframes tuing{0%{transform:translateY(0) scale(1,1)}
  16%{transform:translateY(0) scale(1.07,.9)}
  42%{transform:translateY(-28px) scale(.96,1.05)}
  66%{transform:translateY(0) scale(1.04,.96)}
  82%{transform:translateY(-7px) scale(1,1)}
  100%{transform:translateY(0) scale(1,1)}}
@media (prefers-reduced-motion:reduce){.pic.bounce{animation:none}}

/* Botol: tinggi mengikuti layar, jadi tidak kecil di layar besar */
#s3{--bw:clamp(110px,calc((100svh - 340px)/2),240px);justify-content:center;padding-bottom:36px}

/* Desktop: botol menyesuaikan tinggi eskrim yang sekarang penuh */
@media (min-width:1024px){#s3{--bw:clamp(110px,calc((100svh - 280px - var(--dh))/2),240px)}}

/* Partikel saat amplop disentuh */
.burst{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}
.bp{position:absolute;display:block;will-change:transform,opacity}
.bp svg{width:100%;height:100%;display:block;overflow:visible}

/* ============================================================
   REVISI: foto & judul dikecilkan, surat mengintip di layar pertama
   (atur tinggi foto: angka svh di .row .pic; atur ukuran judul: .hb-a sampai .hb-d)
   ============================================================ */
.pg1{min-height:0;justify-content:flex-start;padding-bottom:20px;gap:0}
.pg2{min-height:100vh;min-height:100svh;justify-content:flex-start;padding-top:14px;padding-bottom:56px}
.row .pic{width:min(30vw,260px,30svh)}
.row{gap:clamp(14px,3.5vw,48px)}
.hb-a{font-size:clamp(1.6rem,6vw,2.6rem)}
.hb-b{font-size:clamp(3rem,17vw,5.2rem)}
.hb-c{font-size:clamp(1rem,4.2vw,1.6rem)}
.hb-d{font-size:clamp(1.4rem,6vw,2.3rem)}
.txt .hb{padding:.3rem 1.3rem}
@media (orientation:portrait){
  .row{gap:clamp(8px,1.6svh,16px)}
  .row .pic{width:min(40vw,20svh)}
}

/* ===== Foto tanpa bingkai, dekat dengan judul ===== */
.pic img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain}
.row{gap:clamp(6px,1.5vw,20px)}
.txt .hb{padding:.2rem 1rem}
@media (orientation:portrait){
  .row{gap:clamp(2px,.6svh,8px)}
}


/* ===== Music player: pil gelap, vinyl, equalizer (bisa dikecilkan / ditutup) ===== */
.mp{position:fixed;left:max(12px,env(safe-area-inset-left,0px));bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:9;font-family:'Gaegu','Comic Sans MS',cursive;color:#fff}
.mp.gone{display:none}
.mp-card{display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:8px 12px 8px 8px;border-radius:999px;background:#17365d;box-shadow:0 8px 24px rgba(10,30,60,.35)}
.mp-cover{flex:0 0 auto;display:block;width:42px;height:42px;border-radius:50%;background:radial-gradient(circle,#A2D2FF 0 17%,#0c2342 18% 24%,#1f3f63 25% 62%,#0c2342 63% 66%,#1f3f63 67% 100%);box-shadow:0 0 0 2px rgba(162,210,255,.35)}
.mp-meta{min-width:0;line-height:1.1}
.mp-meta b{display:block;font-size:1.2rem;font-weight:700;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-meta small{display:block;font-size:1rem;color:#A2D2FF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.mp-eq{flex:0 0 auto;display:flex;align-items:flex-end;gap:3px;height:16px}
.mp-eq i{display:block;width:4px;border-radius:2px;background:#A2D2FF;height:5px}
.mp-eq i:nth-child(2){height:11px}
.mp-eq i:nth-child(3){height:7px}
.mp.playing .mp-eq i{animation:mpeq .9s ease-in-out infinite}
.mp.playing .mp-eq i:nth-child(2){animation-delay:-.3s}
.mp.playing .mp-eq i:nth-child(3){animation-delay:-.6s}
@keyframes mpeq{0%,100%{height:4px}50%{height:16px}}
.mp-b{flex:0 0 auto;border:0;border-radius:50%;padding:0;display:grid;place-items:center;cursor:pointer}
.mp-b svg{display:block}
.mp-play{width:46px;height:46px;background:#A2D2FF;color:#17365d}
.mp-play svg{width:22px;height:22px}
.mp-sm{width:30px;height:30px;background:rgba(255,255,255,.16);color:#fff}
.mp-sm svg{width:15px;height:15px}
.mp-b:focus-visible,.mp-disc:focus-visible{outline:3px solid #A2D2FF;outline-offset:2px}
.mp .i-pause{display:none}
.mp.playing .i-play{display:none}
.mp.playing .i-pause{display:block}
.mp-disc{display:none;width:52px;height:52px;border:0;border-radius:50%;padding:0;place-items:center;cursor:pointer;background:#17365d;box-shadow:0 8px 24px rgba(10,30,60,.35)}
.mp-disc .mp-cover{width:42px;height:42px}
.mp.min .mp-card{display:none}
.mp.min .mp-disc{display:grid}
.mp.playing .mp-card .mp-cover,.mp.playing .mp-disc .mp-cover{animation:mpspin 5s linear infinite}
@keyframes mpspin{to{transform:rotate(360deg)}}
@media (max-width:420px){.mp-eq{display:none}.mp-meta small{max-width:110px}.mp-card{gap:8px}}
@media (prefers-reduced-motion:reduce){.mp.playing .mp-cover,.mp.playing .mp-eq i{animation:none}}


/* ===== Judul dua baris: "Happy birthday" / "My Pentol" ===== */
.hb-l1{font-family:'Lora',Georgia,serif;font-weight:500;font-size:clamp(1.6rem,6.2vw,2.8rem);line-height:1.15;white-space:nowrap;color:#ffffff;
  padding:0 .14em;text-shadow:0 3px 0 rgba(31,63,99,.3);
  background:linear-gradient(to top,transparent 6%,#A2D2FF 6% 46%,transparent 46%)}
.hb-l2{font-weight:700;font-size:clamp(2rem,9vw,3.4rem);line-height:1.1;letter-spacing:.04em;white-space:nowrap;color:#2f6aa3;margin-top:.15em}


/* ===== Foto naik-turun pelan terus-menerus + foto & judul lebih besar ===== */
.pic img{animation:floaty 4.5s ease-in-out infinite;will-change:transform}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
@media (prefers-reduced-motion:reduce){.pic img{animation:none}}
.row .pic{width:min(36vw,330px,36svh)}
.hb-l1{font-size:clamp(1.8rem,5.6vw,3.3rem)}
.hb-l2{font-size:clamp(2.3rem,7.4vw,4.2rem)}
@media (orientation:portrait){
  .row .pic{width:min(50vw,26svh)}
  .hb-l1{font-size:clamp(1.9rem,8.4vw,3.1rem)}
  .hb-l2{font-size:clamp(2.3rem,10.5vw,3.8rem)}
}
