/* 327 RUM XO — rebuilt from the Readymag version (Nov 2026).
   Desktop: every section is laid out on a 1024px canvas and scaled with CSS zoom (--z),
   exactly like the Readymag "scalable viewer". Mobile (<768px): stacked layout on a 320px canvas. */

@font-face{font-family:"Blocus";src:url(../fonts/blocus.otf) format("opentype");font-display:swap}
@font-face{font-family:"Bourton Base";src:url(../fonts/bourton-base.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Carters Display";src:url(../fonts/carters-display.ttf) format("truetype");font-display:swap}

:root{--z:1;--zg:1;--vhb:900px;--bg:#070707}
*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:#fff;font-family:"Bourton Base",Arial,sans-serif;font-weight:400;
  -webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;border:0}
p,h1,h2,ul{margin:0;padding:0;font-weight:400}
ul{list-style:none}
a{color:inherit;text-decoration:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- section canvas ---------- */
.sec{position:relative;width:1024px;zoom:var(--z);overflow:clip}
.abs{position:absolute}
.txt{font-size:12px;line-height:18px;text-align:center;color:#fff}
.txt .lh19{line-height:19px}
.txt-s{font-size:8px;line-height:12px}
.ttl{font-family:"Carters Display",Georgia,serif;font-size:33px;line-height:55px;text-align:center;color:#fff;width:480px;height:55px}
.dark{color:#000}

/* animations */
.spin{animation:spin 13s linear infinite}
.pulse{animation:pulse 1.2s ease-in-out infinite alternate}
.pulse-s{animation:pulse-s 1.2s ease-in-out infinite alternate}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{from{transform:scale(1)}to{transform:scale(.9)}}
@keyframes pulse-s{from{transform:scale(1)}to{transform:scale(1.03)}}
@media (prefers-reduced-motion:reduce){.spin,.pulse,.pulse-s{animation:none}}

/* ---------- 1. home ---------- */
.s-home{height:1232px;overflow:visible}
.pin{position:sticky;top:0;height:var(--vhb);overflow:hidden}
.hero-bg{left:0;top:0;width:1024px;height:439px;object-fit:cover;z-index:308}
.hero-title{left:37px;top:157px;width:1888px;height:230px;font-family:"Blocus",serif;font-size:162px;line-height:230px;
  white-space:nowrap;color:#fff;z-index:310;will-change:transform}
.bottle{left:426.5px;top:27px;width:173px;height:436px;z-index:320}
.logo{left:42px;top:26px;width:84px;height:88px;z-index:314}
.logo-ring{width:84px;height:88px}
.logo-327{position:absolute;left:15px;top:28px;width:56px;height:32px}
.nav a{position:absolute;top:46px;height:10px;font-size:10px;line-height:10px;letter-spacing:3px;color:#fff;z-index:321;white-space:nowrap;transition:opacity .2s}
.nav a:hover{opacity:.6}
.nav-taste{right:276px;width:53px}
.nav-history{right:196px;width:73px}
.nav-blends{right:100px;width:96px}
.nav-contact{right:-3px;width:96px}
.scroll-down{left:51px;bottom:18px;width:64px;height:14px;font-size:8px;line-height:14px;color:#fef6e6;z-index:315;white-space:nowrap}
.scroll-icon{left:110px;bottom:19px;width:11px;height:11px;z-index:316}

.next-arrow{position:fixed;left:50%;bottom:14px;width:30px;height:16px;margin-left:-15px;z-index:400;transition:opacity .3s}
.next-arrow svg{display:block}
.next-arrow.hide{opacity:0;pointer-events:none}

/* ---------- 2. name ---------- */
.s-name{height:660px}
.orn{left:192px;width:641px;height:25px;opacity:.13}
.orn-1{top:54px}.orn-2{top:242px}
.name-txt{left:260px;top:83px;width:505px;height:150px}
.ph{top:301px;width:258px;height:258px;overflow:hidden}
.ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.ph:hover img{transform:scale(1.03)}
.ph-1{left:117px}.ph-2{left:383px}.ph-3{left:650px}

/* ---------- 3. taste ---------- */
.s-taste{height:583px}
.banner-df{left:115px;top:25px;width:795px;height:31px}
.taste-l{left:0;top:56px;width:443px;height:289px;opacity:.3}
.taste-ttl{left:272px;top:210px}
.taste-txt{left:272px;top:291px;width:480px;height:144px}
.taste-r{left:791px;top:261px;width:235px;height:323px;opacity:.3}

/* ---------- 4. history ---------- */
.s-history{height:530px}
.paper-bg{left:122px;top:39px;width:783px;height:429px}
.history-ttl{left:276px;top:87px}
.history-txt{left:239px;top:164px;width:555px;height:198px}
.seal{left:457px;top:405px;width:119px;height:112px}

/* ---------- 5. blend ---------- */
.s-blend{height:1421px}
.blend-ttl{left:272px;top:42px}
.blend-txt{left:272px;top:124px;width:480px;height:144px}
.map{left:0;top:280px;width:1024px;height:542px}
.map-img{width:1024px;height:542px}
.hs{position:absolute;width:14px;height:14px;cursor:pointer;outline:none}
.pin-img{width:14px;height:14px}
.hs-gt{left:110px;top:226px}.hs-pa{left:405px;top:399px}.hs-ve{left:687px;top:425px}.hs-gy{left:832px;top:465px}
.tip{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);background:#fff;border-radius:2px;color:#282828;
  box-shadow:0 2px 10px rgba(0,0,0,.35);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;z-index:5;cursor:default}
.hs:hover .tip,.hs:focus .tip,.hs.open .tip{opacity:1;visibility:visible}
.tip-t{font-family:"Carters Display",Georgia,serif;font-size:14px;line-height:12px;padding:14px 8px 0;text-align:center}
.tip-b{font-size:8px;line-height:10px;padding:13px 8px 17px;text-align:center}
.banner-c{left:114px;top:874px;width:798px;height:31px}
.blend-txt2{left:272px;top:988px;width:480px;height:162px}
.strip{left:172px;top:1216px;width:682px;height:143px}
.vase{top:1249px;width:29px;height:63px}
.vase-l{left:206px}.vase-r{left:784px}
.reuse-txt{left:273px;top:1263px;width:480px;height:48px;text-align:center}

/* ---------- 6. contact ---------- */
.s-contact{height:490px}
.contact-ttl{left:272px;top:40px}
.contact-txt{left:272px;top:95px;width:480px;height:24px;text-align:center}
.form{left:282px;top:168px;width:463px}
.form input,.form textarea,.form button{display:block;width:100%;margin:0 0 2px;border:0;border-radius:0;outline:none;
  font-family:"Bourton Base",Arial,sans-serif;font-size:8px;letter-spacing:0;-webkit-appearance:none;appearance:none}
.form input,.form textarea{background:#f7f7f7;color:#000;padding:0 15px;height:28px;line-height:28px}
.form textarea{height:50px;line-height:12px;padding:9px 15px;resize:none}
.form ::placeholder{color:rgba(0,0,0,.45)}
.form input:focus,.form textarea:focus{background:#fff}
.form input.err,.form textarea.err{box-shadow:inset 0 0 0 1px #c80000}
.form button{height:32px;background:#4c4c4c;color:#fff;cursor:pointer;text-align:center;margin:0}
.form button:hover{opacity:.9}
.form button[disabled]{opacity:.6;cursor:default}
.form-msg{font-size:8px;line-height:12px;min-height:12px;margin-top:6px;text-align:center}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.line{left:54px;width:916px;height:.5px;background:#fff}
.line-1{top:400px}.line-2{top:450px;left:55px}
.vline{left:512.25px;top:402.5px;width:.5px;height:45px;background:#fff}
.foot-logo{left:64px;top:410px;width:55px;height:29px}
.foot-avail{left:157px;top:418px;width:330px;height:12px;white-space:nowrap}
.follow{left:533px;top:416px;width:90px;height:19px;font-family:"Carters Display",Georgia,serif;font-size:12px;line-height:19px}
.social li{top:419px;width:62px;height:16px;font-size:8px;line-height:12px}
.social a:hover{opacity:.6}
.so-1{left:758px}.so-2{left:820px}.so-3{left:882px}.so-4{left:944px}

/* ---------- age gate ---------- */
.gate{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;
  background:#070707 url(../img/gate-bg.jpg) center/cover no-repeat;overflow:auto}
.age-ok .gate{display:none}
html:not(.age-ok) body{overflow:hidden}
.gate-box{zoom:var(--zg);width:1024px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 0}
.gate-logo{position:relative;width:107px;height:111px}
.gate-ring{width:107px;height:111px}
.gate-327{position:absolute;left:18px;top:35px;width:71px;height:41px}
.gate-text{margin-top:59px;width:480px}
.gate-l1{font-size:8px;line-height:16px}
.gate-l2{font-family:"Carters Display",Georgia,serif;font-size:12px;line-height:16px}
.gate-q{margin-top:45px;font-family:"Carters Display",Georgia,serif;font-size:18px;line-height:26px}
.gate-btns{display:flex;gap:11px;margin-top:13px}
.gate-btn{display:flex;align-items:center;justify-content:center;width:134px;height:50px;border:2px solid #fff;background:transparent;
  color:#fff;font-family:"Bourton Base",Arial,sans-serif;font-size:18px;line-height:1;cursor:pointer;padding:0;border-radius:0}
.gate-btn:hover,.gate-btn:focus-visible{background:#fff;color:#000;border-color:#fff;outline:none}

/* ---------- cookie banner ---------- */
.cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:900;max-width:560px;margin:0 auto;background:#111;border:1px solid rgba(255,255,255,.4);
  padding:14px 16px;display:flex;gap:14px;align-items:center;font-size:11px;line-height:16px;letter-spacing:.5px}
.cookie[hidden]{display:none}
.cookie p{flex:1}
.cookie-btns{display:flex;gap:8px}
.cookie button{font-family:"Bourton Base",Arial,sans-serif;font-size:11px;padding:8px 14px;border:1px solid #fff;background:transparent;color:#fff;cursor:pointer}
.cookie #cookie-yes{background:#fff;color:#000}
.cookie button:hover{opacity:.85}

/* =====================================================================
   MOBILE  (< 768px) — stacked layout on a 320px canvas
   ===================================================================== */
.is-mobile .sec{width:320px;height:auto}
.is-mobile .abs{position:relative;left:auto;top:auto;right:auto;bottom:auto}
.is-mobile .next-arrow{display:none}

/* home */
.is-mobile .s-home{height:auto}
.is-mobile .pin{position:relative;height:auto;padding:0 0 26px;overflow:hidden;display:flex;flex-direction:column}
.is-mobile .hero-title{order:2}
.is-mobile .hero-bg{position:absolute;left:0;top:0;width:320px;height:330px;object-fit:cover}
.is-mobile .bottle{margin:70px auto 0;width:118px;height:297px}
.is-mobile .hero-title{width:auto;height:auto;white-space:normal;text-align:center;font-size:44px;line-height:50px;margin:16px 14px 0;transform:none!important}
.is-mobile .logo{position:absolute;left:12px;top:12px;width:52px;height:55px}
.is-mobile .logo-ring{width:52px;height:55px}
.is-mobile .logo-327{left:9px;top:17px;width:35px;height:20px}
.is-mobile .nav{position:absolute;right:14px;top:14px;display:flex;flex-direction:column;align-items:flex-end;gap:7px;z-index:321}
.is-mobile .nav a{position:static;width:auto;height:auto;font-size:8px;line-height:9px;letter-spacing:2px}
.is-mobile .scroll-down,.is-mobile .scroll-icon{display:none}

/* name */
.is-mobile .s-name{padding:26px 20px 30px}
.is-mobile .orn{width:280px;height:11px}
.is-mobile .name-txt,.is-mobile .taste-txt,.is-mobile .history-txt,.is-mobile .blend-txt,.is-mobile .blend-txt2{width:auto;height:auto;font-size:8px;line-height:12px}
.is-mobile .txt .lh19{line-height:12px}
.is-mobile .txt br{display:none}
.is-mobile .txt p+p{margin-top:8px}
.is-mobile .txt .gap{display:none}
.is-mobile .blend-txt p:last-child{margin-top:0}
.is-mobile .name-txt{margin:12px 0}
.is-mobile .photos{display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:24px}
.is-mobile .ph{width:258px;height:258px}

/* taste */
.is-mobile .s-taste{padding:40px 20px 70px}
.is-mobile .banner-df{display:none}
.is-mobile .taste-l{position:absolute;left:0;top:0;width:220px;height:auto;opacity:.34}
.is-mobile .taste-r{position:absolute;left:auto;right:0;top:auto;bottom:0;width:120px;height:auto;opacity:.18}
.is-mobile .ttl{width:auto;height:auto;font-size:22px;line-height:36px;margin:30px 0 12px}

/* history */
.is-mobile .s-history{padding:10px 8px 20px}
.is-mobile .paper{position:relative;padding:34px 26px 60px}
.is-mobile .paper-bg{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:fill}
.is-mobile .history-ttl{margin:0 0 10px}
.is-mobile .seal{margin:-48px auto 0;width:84px;height:79px}

/* blend */
.is-mobile .s-blend{padding:20px 20px 30px}
.is-mobile .blend-ttl{margin-top:10px}
.is-mobile .map{margin:24px -20px 0;width:320px;height:169px}
.is-mobile .map-img{width:320px;height:169px}
.is-mobile .hs{width:12px;height:12px}
.is-mobile .pin-img{width:12px;height:12px}
.is-mobile .hs-gt{left:34px;top:70px}.is-mobile .hs-pa{left:126px;top:124px}.is-mobile .hs-ve{left:214px;top:132px}.is-mobile .hs-gy{left:260px;top:145px}
.is-mobile .tip{bottom:20px}
.is-mobile .hs-gt .tip{left:-28px;transform:none}
.is-mobile .hs-gy .tip{left:auto;right:-50px;transform:none}
.is-mobile .hs:hover .tip{opacity:0;visibility:hidden}
.is-mobile .hs.open .tip{opacity:1;visibility:visible}
.is-mobile .banner-c{display:none}
.is-mobile .blend-txt2{margin-top:26px}
.is-mobile .reuse{position:relative;margin:34px -10px 0;padding:22px 40px}
.is-mobile .strip{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:fill}
.is-mobile .vase{position:absolute;top:50%;width:16px;height:35px;margin-top:-17px}
.is-mobile .vase-l{left:14px}.is-mobile .vase-r{left:auto;right:14px}
.is-mobile .reuse-txt{width:auto;height:auto;font-size:7px;line-height:10px}

/* contact */
.is-mobile .s-contact{padding:20px 20px 30px}
.is-mobile .contact-ttl{margin-top:10px}
.is-mobile .contact-txt{width:auto;height:auto}
.is-mobile .contact-txt br{display:none}
.is-mobile .form{width:auto;margin-top:24px}
.is-mobile .form input,.is-mobile .form textarea{font-size:14px;padding:0 12px}
.is-mobile .form input{height:36px;line-height:36px}
.is-mobile .form textarea{height:80px;line-height:18px;padding:8px 12px}
.is-mobile .form button{height:38px;font-size:10px;margin:0}
.is-mobile .foot{display:flex;flex-direction:column;align-items:center;margin-top:34px;padding:14px 0;border-top:.5px solid #fff;border-bottom:.5px solid #fff}
.is-mobile .line,.is-mobile .vline{display:none}
.is-mobile .foot-logo{width:55px;height:29px}
.is-mobile .foot-avail{width:auto;height:auto;white-space:normal;text-align:center;margin-top:12px;font-size:7px}
.is-mobile .follow{width:auto;margin-top:12px}
.is-mobile .social{display:flex;gap:18px;margin-top:4px}
.is-mobile .social li{width:auto;height:auto}

/* gate on mobile */
.is-mobile .gate-box{width:320px}
.is-mobile .gate-text{width:280px;margin-top:40px}
.is-mobile .gate-l2{font-size:10px}
.is-mobile .gate-q{font-size:15px;margin-top:30px}
.is-mobile .gate-btn{width:110px;height:44px;font-size:16px}
.is-mobile .cookie{flex-direction:column;align-items:stretch;font-size:10px}
.is-mobile .cookie-btns{justify-content:flex-end}
