/* 幸福何雅官網：共用樣式（所有前台頁面）
 * 配色取自 LOGO：綠（主色，按鈕與連結）＋粉紅（只用在「預購、限量、特價」這類促銷標示）。
 * 圓角規則：卡片 14px、輸入框 10px、按鈕與標籤全圓（pill）。
 * 間距：區塊上下 40px（手機 32px），主人偏好緊湊。頁首、選單、按鈕文字一律不換行。 */
:root{
  --bg:#f6f7f4; --surface:#fffffe; --surface-2:#edf3f0; --ink:#22252a; --muted:#5b6166; --line:#dfe4e0;
  --brand:#0e7c66; --brand-ink:#0a5e4d; --brand-soft:#e2f1ec; --on-brand:#ffffff;
  --promo:#c2386f; --promo-soft:#fbe7ef; --line-soft:#e8f8ee;   /* line-soft：LINE 綠色提示區的底色 */
  --shadow:0 12px 32px rgba(14,70,58,.09);
  --r-card:14px; --r-in:10px;
  --wrap:1200px; --gap:40px;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#141816; --surface:#1b201e; --surface-2:#1f2b27; --ink:#eceeec; --muted:#a9b2ad; --line:#2d3531;
    --brand:#3fbf9f; --brand-ink:#86dcc6; --brand-soft:#1c3831; --on-brand:#0a1a15;
    --promo:#f27caf; --promo-soft:#3a2130; --line-soft:#15332a;
    --shadow:0 12px 32px rgba(0,0,0,.35);
  }
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased;letter-spacing:.01em}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
[hidden]{display:none!important}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.sec{padding:var(--gap) 0}
.sec-h{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.sec-h h2{font-size:clamp(1.4rem,2.6vw,1.9rem);font-weight:900;line-height:1.3}
.sec-h .sp{flex:1}
.sec-h p{color:var(--muted);max-width:60ch}
.more{display:inline-flex;align-items:center;gap:6px;color:var(--brand-ink);font-weight:700;text-decoration:none;white-space:nowrap}
.more:hover{text-decoration:underline}
.muted{color:var(--muted)}
.num{font-variant-numeric:tabular-nums;white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--brand);color:var(--on-brand);padding:8px 14px;border-radius:999px;z-index:100}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* 按鈕 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 22px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:700;white-space:nowrap;text-decoration:none;cursor:pointer;transition:transform .15s ease,background .2s ease,border-color .2s ease}
.btn:hover{border-color:var(--brand)}
.btn:active{transform:translateY(1px) scale(.99)}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.btn.primary:hover{background:var(--brand-ink);border-color:var(--brand-ink)}
.btn.line{background:#06c755;border-color:#06c755;color:#fff}
.btn.sm{height:38px;padding:0 16px;font-size:.92rem}
.btn.block{width:100%}
.btn i{font-size:1.15em}

/* 頁首（一排不換行；放不下就收成選單） */
.notice{background:var(--brand);color:var(--on-brand);font-size:.9rem;text-align:center;padding:7px 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notice a{color:inherit;font-weight:700}
.top{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top .in{max-width:var(--wrap);margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;flex:none;text-decoration:none}
.brand img{height:42px;width:auto}
.nav{display:flex;gap:4px;margin-left:8px}
.nav a{display:flex;align-items:center;height:40px;padding:0 13px;border-radius:999px;text-decoration:none;white-space:nowrap;color:var(--ink);font-weight:500}
.nav a:hover{background:var(--surface-2)}
.nav a.on{color:var(--brand-ink);font-weight:700;background:var(--brand-soft)}
.top .acts{margin-left:auto;display:flex;align-items:center;gap:8px;flex:none}
.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);text-decoration:none;white-space:nowrap;cursor:pointer;font-weight:700;font-size:.92rem}
.icon-btn i{font-size:1.2rem}
.icon-btn:hover{border-color:var(--brand)}
.cart-n{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--promo);color:#fff;font-size:.75rem;display:inline-flex;align-items:center;justify-content:center}
.menu-btn{display:none;width:42px;height:42px;border-radius:999px;border:1px solid var(--line);background:var(--surface);cursor:pointer;font-size:1.3rem;align-items:center;justify-content:center}
.top.compact .nav{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;background:var(--surface);border-bottom:1px solid var(--line);padding:10px 16px 18px;margin:0;box-shadow:var(--shadow)}
.top.compact.open .nav{display:flex}
.top.compact .nav a{height:46px;font-size:1.02rem}
.top.compact .menu-btn{display:inline-flex}
.nav .only-m{display:none}
.top.compact .nav .only-m{display:flex}
@media (max-width:1280px){.top .acts .staff .t{display:none}.top .acts .staff{padding:0 11px}}
@media (max-width:560px){.top .in{padding:0 14px;gap:10px}.brand img{height:36px}.icon-btn .t{display:none}.icon-btn{padding:0 11px}.top .acts .lookup,.top .acts .staff{display:none}}
/* 深色模式：LOGO 的字是黑色，放在淺色底牌上 */
@media (prefers-color-scheme:dark){.brand{background:#f6f7f4;border-radius:12px;padding:4px 10px}.brand img{height:36px}}

/* 首屏 */
.hero{padding:32px 0 var(--gap)}
.hero .in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:40px;align-items:center}
.hero h1{font-size:clamp(1.9rem,3.6vw,3.1rem);font-weight:900;line-height:1.25;letter-spacing:.02em}
.hero h1 em{font-style:normal;color:var(--brand-ink)}
.hero p.lead{margin:16px 0 26px;color:var(--muted);font-size:1.08rem;max-width:30em}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.hero .pic{position:relative}
.hero .pic > img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--r-card);box-shadow:var(--shadow)}
.hero .pic .sub{position:absolute;left:-36px;bottom:-24px;width:38%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--r-card);border:5px solid var(--bg);box-shadow:var(--shadow)}
@media (max-width:900px){.hero .in{grid-template-columns:1fr;gap:26px}.hero .pic{order:-1}.hero .pic .sub{left:auto;right:12px;bottom:-18px;width:34%}}

/* 品牌承諾（一排圖示，不是卡片） */
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fact{display:flex;gap:12px;align-items:center}
.fact i{font-size:1.9rem;color:var(--brand);flex:none}
.fact b{display:block;font-size:1rem;white-space:nowrap}
.fact span{display:block;color:var(--muted);font-size:.86rem}
@media (max-width:900px){.facts{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.fact{gap:8px}.fact i{font-size:1.6rem}.fact span{font-size:.8rem}}

/* 預購檔期橫幅 */
.camp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:var(--promo-soft);border-radius:var(--r-card);overflow:hidden}
.camp > img{width:100%;height:100%;min-height:260px;object-fit:cover}
.camp .bd{padding:28px 32px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.camp .tag{align-self:flex-start;background:var(--promo);color:#fff;border-radius:999px;padding:2px 12px;font-size:.85rem;font-weight:700;white-space:nowrap}
.camp h2{font-size:clamp(1.4rem,2.6vw,1.9rem);font-weight:900;line-height:1.3}
.camp .dates{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:.93rem}
.camp .dates b{color:var(--ink)}
.camp .items{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 8px}
.camp .items a{display:inline-flex;gap:6px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px 12px;text-decoration:none;font-size:.9rem;white-space:nowrap}
.camp .items b{color:var(--promo)}
@media (max-width:800px){.camp{grid-template-columns:1fr}.camp > img{min-height:0;aspect-ratio:16/9}.camp .bd{padding:22px}}

/* 商品卡片 */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
@media (max-width:1100px){.pgrid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.pgrid{grid-template-columns:repeat(2,1fr);gap:14px}}
.pcard{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.pcard:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.pcard .ph{position:relative;display:block;background:#fff}
.pcard .ph img{width:100%;aspect-ratio:3/2;object-fit:cover}
.pcard .bd{padding:14px 16px 16px;display:flex;flex-direction:column;gap:4px;flex:1}
.pcard h3{font-size:1.08rem;font-weight:900;line-height:1.4}
.pcard h3 a{text-decoration:none}
.pcard .tl{color:var(--muted);font-size:.88rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.64em}
.pcard .row{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:10px}
.price{font-weight:900;font-size:1.18rem;color:var(--ink)}
.price.promo{color:var(--promo)}
.price-old{color:var(--muted);text-decoration:line-through;font-size:.88rem}
.pcard .row .btn{margin-left:auto}
.badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:2px}
.bdg{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:.76rem;font-weight:700;white-space:nowrap;background:var(--brand-soft);color:var(--brand-ink)}
.bdg.promo{background:var(--promo);color:#fff}
.bdg.out{background:var(--surface-2);color:var(--muted)}
.bdg.weight{background:transparent;color:var(--muted);border:1px solid var(--line)}
.pcard.soldout .ph img{filter:grayscale(.6);opacity:.75}
@media (max-width:560px){.pcard .bd{padding:10px 12px 12px}.pcard h3{font-size:.98rem}.pcard .row{flex-wrap:wrap;gap:6px}.pcard .row .btn{margin-left:0;width:100%;height:36px}.pcard .tl{font-size:.82rem}}

/* 客製禮盒拼貼（首頁） */
.gift{display:grid;grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:auto auto;gap:14px}
.gift .txt{grid-column:2 / 4;background:var(--surface-2);border-radius:var(--r-card);padding:26px 28px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.gift .txt h2{font-size:clamp(1.35rem,2.4vw,1.8rem);font-weight:900;line-height:1.35}
.gift .txt p{color:var(--muted)}
.gift .txt .uses{display:flex;flex-wrap:wrap;gap:8px}
.gift .txt .uses span{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px 12px;font-size:.88rem;white-space:nowrap}
.gift figure{margin:0;border-radius:var(--r-card);overflow:hidden;background:var(--surface)}
.gift figure img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.gift .big{grid-row:1 / 3}
.gift .big img{aspect-ratio:auto;min-height:100%}
@media (max-width:860px){.gift{grid-template-columns:1fr 1fr}.gift .txt{grid-column:1 / 3;order:-1}.gift .big{grid-row:auto;grid-column:1 / 3}.gift .big img{aspect-ratio:16/9}}

/* 品牌宣言 */
.manifesto{text-align:center;max-width:760px;margin:0 auto}
.manifesto img{height:74px;width:auto;margin:0 auto 14px}
.manifesto h2{font-size:clamp(1.35rem,2.8vw,2rem);font-weight:900;line-height:1.5}
.manifesto p{color:var(--muted);margin:12px auto 18px;max-width:40em}

/* 消息列表（縮圖在左） */
.alist{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 28px}
.aitem{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:center;text-decoration:none;padding:10px;border-radius:var(--r-card)}
.aitem:hover{background:var(--surface)}
.aitem img{width:150px;aspect-ratio:3/2;object-fit:cover;border-radius:10px}
.aitem .meta{display:flex;gap:8px;align-items:center;font-size:.84rem;color:var(--muted)}
.aitem h3{font-size:1.05rem;font-weight:900;line-height:1.45;margin:2px 0}
.aitem p{color:var(--muted);font-size:.9rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:860px){.alist{grid-template-columns:1fr}}
@media (max-width:480px){.aitem{grid-template-columns:108px minmax(0,1fr);gap:12px;padding:6px}.aitem img{width:108px}}

/* LINE 區塊 */
.linebox{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:26px 30px}
.linebox h2{font-size:clamp(1.3rem,2.4vw,1.7rem);font-weight:900}
.linebox p{color:var(--muted);margin:6px 0 16px}
.linebox .acts{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:700px){.linebox{grid-template-columns:1fr;padding:22px}.linebox .lqr{align-items:flex-start}}
/* LINE QR：圖可以點，下面一定有綠色「加入 LINE 好友」按鈕；手機只留按鈕（html.is-mobile） */
.lqr{display:flex;flex-direction:column;align-items:center;gap:10px}
.lqr-img{display:block;border-radius:12px;transition:transform .15s ease}
.lqr-img:hover{transform:scale(1.03)}
.lqr-img img{width:150px;height:150px;border:5px solid #06c755;border-radius:12px;background:#fff;display:block}
.lqr.sm .lqr-img img{width:112px;height:112px;border-width:4px}
html.is-mobile .lqr-img{display:none}

/* 頁面標題列 */
.phead{padding:26px 0 6px}
.crumb{font-size:.86rem;color:var(--muted);display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.crumb a{text-decoration:none}
.crumb a:hover{text-decoration:underline}
.phead h1{font-size:clamp(1.6rem,3.2vw,2.3rem);font-weight:900;line-height:1.3}
.phead p{color:var(--muted);margin-top:6px;max-width:60ch}

/* 篩選列 */
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.chip{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);cursor:pointer;white-space:nowrap;text-decoration:none;font-size:.95rem}
.chip.on{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:700}
.chip.promo.on{background:var(--promo);border-color:var(--promo);color:#fff}
.filters .search{margin-left:auto;min-width:200px;max-width:280px;flex:1}

/* 表單 */
.form{display:grid;gap:16px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 18px}
@media (max-width:640px){.grid2,.grid3{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:6px}
.field > label,.field > .q{font-weight:700;font-size:.95rem}
.field .req{color:var(--promo)}
.help{color:var(--muted);font-size:.85rem}
input[type=text],input[type=tel],input[type=email],input[type=date],input[type=number],input[type=search],select,textarea{width:100%;min-height:46px;border:1px solid #b9c2bd;border-radius:var(--r-in);background:var(--surface);padding:10px 14px}
@media (prefers-color-scheme:dark){input[type=text],input[type=tel],input[type=email],input[type=date],input[type=number],input[type=search],select,textarea{border-color:#46514c}}
textarea{min-height:96px;resize:vertical}
input::placeholder,textarea::placeholder{color:#7b8580}
input:focus,select:focus,textarea:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.check{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.check input{width:20px;height:20px;margin-top:3px;accent-color:var(--brand);flex:none}
.opts{display:flex;gap:10px;flex-wrap:wrap}
.opt{position:relative;display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:var(--r-in);padding:12px 16px 12px 44px;cursor:pointer;background:var(--surface);min-width:200px;flex:1}
.opt input{position:absolute;left:14px;top:15px;width:18px;height:18px;accent-color:var(--brand)}
.opt b{white-space:nowrap}
.opt span{color:var(--muted);font-size:.86rem}
.opt:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.opt:has(input:disabled){opacity:.5;cursor:not-allowed}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}   /* 防機器人欄位 */
.err{color:var(--promo);font-weight:700;min-height:1.2em}
.box{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:24px}
.box h2{font-size:1.2rem;font-weight:900;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.box h2 i{color:var(--brand)}
@media (max-width:560px){.box{padding:18px}}
.note{background:var(--surface-2);border-radius:var(--r-in);padding:12px 16px;font-size:.93rem}
.note.warn{background:var(--promo-soft)}
.done{background:var(--brand-soft);border-radius:var(--r-card);padding:24px}
.done h2{font-size:1.3rem;font-weight:900;display:flex;gap:8px;align-items:center;color:var(--brand-ink)}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;margin:14px 0}
.kv dt{color:var(--muted);white-space:nowrap}
.kv dd b{font-size:1.05rem}

/* 頁尾 */
.foot{margin-top:var(--gap);background:var(--surface);border-top:1px solid var(--line);padding:36px 0 22px;font-size:.93rem}
.foot .in{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}
.foot img{height:48px;width:auto;margin-bottom:10px}
@media (prefers-color-scheme:dark){.foot .logo-plate{display:inline-block;background:#f6f7f4;border-radius:12px;padding:6px 12px;margin-bottom:10px}.foot .logo-plate img{margin:0}}
.foot h3{font-size:1rem;font-weight:900;margin-bottom:8px}
.foot ul{list-style:none;display:grid;gap:6px}
.foot a{text-decoration:none;color:var(--muted)}
.foot a:hover{color:var(--ink);text-decoration:underline}
.foot .contact li{display:flex;gap:8px;color:var(--muted)}
.foot .contact i{color:var(--brand);margin-top:4px}
.foot .copy{border-top:1px solid var(--line);margin-top:26px;padding-top:16px;color:var(--muted);font-size:.84rem;display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}
@media (max-width:760px){.foot .in{grid-template-columns:1fr 1fr}.foot .in > :first-child{grid-column:1 / 3}}

/* 浮動按鈕、LINE 視窗、提示 */
.float{position:fixed;right:18px;bottom:18px;z-index:40;display:flex;flex-direction:column;gap:10px}
.float a{width:54px;height:54px;border-radius:999px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.2);text-decoration:none;color:#fff;font-weight:900;font-size:.8rem}
.float .ln{background:#06c755}
.float .tel{background:var(--brand);font-size:1.4rem}
.line-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:60;padding:16px}
.line-card{position:relative;background:#fff;color:#22252a;border-radius:16px;padding:28px 28px 22px;text-align:center;max-width:440px;width:100%}
.line-card h3{font-size:clamp(1.05rem,4vw,1.3rem);white-space:nowrap}
.line-card p{white-space:nowrap;font-size:clamp(.72rem,3.1vw,.95rem);color:#5b6166;margin:8px 0 14px}
.line-card .lqr-img{display:inline-block}
.line-card img{width:220px;height:220px;margin:0 auto;border:6px solid #06c755;border-radius:12px}
.line-card .line-id{margin:14px 0 0;display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
.line-copy{height:34px;padding:0 14px;border-radius:999px;border:1px solid #06c755;background:#fff;color:#067a36;font-weight:700;cursor:pointer;white-space:nowrap}
.line-x{position:absolute;top:10px;right:12px;width:36px;height:36px;border:0;background:none;font-size:1.6rem;cursor:pointer;color:#5b6166}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:11px 18px;border-radius:999px;z-index:70;box-shadow:0 10px 26px rgba(0,0,0,.25);display:flex;gap:12px;align-items:center;max-width:calc(100vw - 32px);white-space:nowrap}
.toast a{color:inherit;font-weight:700}
.toast.err{background:var(--promo);color:#fff}
.demo-bar{background:#f5c26b;color:#3b2a00;text-align:center;font-size:.86rem;padding:5px 12px;white-space:nowrap}
.demo-bar a{color:inherit;font-weight:700}
.skeleton{background:linear-gradient(90deg,var(--surface-2),var(--surface),var(--surface-2));background-size:200% 100%;border-radius:var(--r-card);min-height:280px}
@media (prefers-reduced-motion:no-preference){.skeleton{animation:sk 1.4s ease infinite}}
@keyframes sk{to{background-position:-200% 0}}
.empty{padding:36px;text-align:center;color:var(--muted);background:var(--surface);border:1px dashed var(--line);border-radius:var(--r-card)}

/* 進場動畫：只在沒有要求減少動態時 */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
  .reveal.in{opacity:1;transform:none}
}
@media (max-width:640px){:root{--gap:32px}.wrap{padding:0 16px}.hero{padding-top:20px}}
