/* ═══ shell.css — the landing's DNA for every inner page (R28, 2026-08-22) ═══
   Loads AFTER /wp-content/themes/yaara-awwwards/assets/css/yaara.css (tokens, fonts, body washes). Carries: the
   rhythm (--gutter/--act/.wrap), halo titles (.h2), the inked header + 6-item
   nav, the metal-wordmark footer, the honey cursor, the product card, reveals. */
:root{--gutter:clamp(20px,4vw,56px);--act:clamp(96px,12vh,150px)}
.wrap{max-width:1240px;margin:0 auto;padding-inline:var(--gutter)}
main{padding-top:64px}

h1{font:600 clamp(46px,6.4vw,100px)/1.04 var(--f);letter-spacing:-.02em}
h1 b{font-weight:700;color:inherit}
.h2{font:600 clamp(36px,4.6vw,72px)/1.08 var(--f);letter-spacing:-.015em;margin:0;
  background:linear-gradient(100deg,var(--ink) 34%,var(--honey) 50%,var(--ink) 66%);
  background-size:260% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent}
.h2--s{font-size:clamp(28px,3.4vw,52px)}
.sub{font-size:clamp(17px,1.35vw,20px);line-height:1.75;color:var(--ink-2);max-width:40em;margin:14px 0 0}
.cap{font-size:14px;color:var(--ink-2);margin-top:12px;max-width:52ch}
.act{padding-block:var(--act)}
.act+.act{padding-top:0}
.head{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.grid2{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(36px,5vw,72px);align-items:start;margin-top:48px}
@media(max-width:920px){.grid2{grid-template-columns:1fr}}
.cta{margin-top:34px;display:flex;gap:24px;align-items:center}
.btn-gold{background:linear-gradient(105deg,#A57C42,#C9A468 55%,#A57C42);color:var(--ink) !important;
  background-size:200% 100%;transition:background-position .5s var(--ease-out),transform var(--t-ui) var(--ease-out)}
.btn-gold:hover{background-position:100% 0}

/* progress hairline */
#progress{position:fixed;top:0;inset-inline-start:0;width:100%;height:2px;z-index:50;
  background:var(--honey);transform-origin:100% 0;transform:scaleX(0)}

/* header — inner pages have no dark hero, so it is inked from the first pixel */
header.shell{position:fixed;top:0;inset-inline:0;z-index:40;display:flex;align-items:center;
  justify-content:space-between;padding:14px var(--gutter);
  background:rgba(253,250,245,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px}
.brand img.em{height:34px;width:auto}
.brand img.wm{height:17px;width:auto}
header.shell nav{display:flex;gap:28px}
header.shell nav a{font:600 14px/1 var(--f);color:var(--ink);opacity:.85;transition:opacity var(--t-ui) var(--ease-out)}
header.shell nav a:hover,header.shell nav a[aria-current]{opacity:1}
header.shell nav a[aria-current]{color:var(--honey-deep)}
/* the questionnaire CTA in the bar: a square outline button, the same vocabulary as the discount
   chip on a card, so it reads as an action next to the nav rather than a sixth category */
.navcta{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;
  border:1px solid var(--honey-deep);color:var(--honey-deep);background:transparent;
  font:600 15px/1 var(--f);white-space:nowrap;
  transition:background var(--t-ui) var(--ease-out),color var(--t-ui) var(--ease-out)}
.navcta:hover,.navcta:focus-visible{background:var(--honey-deep);color:var(--card)}
header.shell .navcta{margin-inline-start:0}
header.shell .cartpill,header .cartpill{margin-inline-start:14px}
@media(max-width:980px){.navcta{padding:0 12px;font-size:13.5px;min-height:36px}}
@media(max-width:760px){.navcta{display:none}}   /* the phone menu carries it instead */
@media(max-width:860px){header.shell nav{gap:18px}}
@media(max-width:760px){
  /* the five links move into the phone menu, none of them is dropped */
  header.shell{padding:10px var(--gutter);padding-top:calc(10px + env(safe-area-inset-top,0px))}
  header.shell .cartpill{margin-inline-start:auto}
  .brand{min-height:44px}
  .brand img.em{height:30px}.brand img.wm{height:15px}
}

/* product card — the landing's shelf component */
.pcard{display:block;background:var(--card);box-shadow:var(--glow-soft);
  border:1px solid var(--line);border-radius:4px;padding:12px;color:var(--ink);direction:rtl;
  transition:transform var(--t-ui) var(--ease-out),box-shadow var(--t-ui) var(--ease-out)}
.pcard:hover{transform:translateY(-3px);border-color:rgba(178,139,82,.45);box-shadow:0 16px 44px rgba(178,139,82,.22)}
.pcard .ph{display:block;position:relative;aspect-ratio:1;overflow:hidden}
.pcard img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.pcard video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  opacity:0;transition:opacity var(--t-ui) var(--ease-out)}
.pcard:hover video{opacity:1}
.pcard .nm{font:600 14px/1.4 var(--f);margin-top:10px;color:var(--ink);text-align:right;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.pcard .pr{font:500 18px/1 var(--f);color:var(--honey-deep);margin-top:4px;font-variant-numeric:tabular-nums}
/* the regular price, struck, beside what it costs now */
.pcard .pr s{font-size:13.5px;font-weight:400;color:var(--ink-3);margin-inline-start:8px;
  text-decoration-thickness:1px;text-underline-offset:0}
/* the saving: a square chip in the corner of the photo. No radius, no gradient, one hairline. */
.pcard .off{position:absolute;top:10px;inset-inline-start:10px;z-index:2;
  display:grid;place-items:center;min-width:38px;height:24px;padding:0 6px;
  border:1px solid var(--honey-deep);background:var(--card);color:var(--honey-deep);
  font:600 12px/1 var(--f);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.pcard .tag{display:none}
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
@media(max-width:1060px){.pgrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.pgrid{grid-template-columns:1fr 1fr;gap:10px}}
html.is-scrolling .pgrid,html.is-scrolling .marq{pointer-events:none}

/* cursor follower REMOVED per Yaara review (2026-08-24): use the normal system pointer, no honey dot */
#cursor{display:none!important}

/* footer — the metal wordmark set-piece, identical to the landing */
.fwm{width:min(92%,1100px);margin:0 auto 72px;aspect-ratio:2874/384;
  background:linear-gradient(96deg,#B99466 0%,#CCA36F 14%,#E9B77C 30%,#EAB67D 50%,
    #B78D61 70%,#98724C 85%,#926B47 100%);
  -webkit-mask:url('/wp-content/themes/yaara-awwwards/assets/brand/wordmark_vec.svg') center/contain no-repeat;
          mask:url('/wp-content/themes/yaara-awwwards/assets/brand/wordmark_vec.svg') center/contain no-repeat}
footer.shell{background:var(--bg);color:var(--ink);padding:76px var(--gutter) 40px;
  border-top:1px solid var(--line)}
.f-in{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:44px}
@media(max-width:820px){.f-in{grid-template-columns:1fr}}
footer.shell p,footer.shell a{color:var(--ink);font-size:14.5px;line-height:2}
footer.shell a:hover{color:var(--honey-deep)}
footer.shell .small{border-top:1px solid var(--line);max-width:1240px;margin:52px auto 0;
  padding-top:22px;font-size:12.5px;color:var(--ink);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

@media (prefers-reduced-motion:reduce){
  .rv,.wipe{opacity:1 !important;transform:none !important;clip-path:none !important}
}

/* instant add on cards (design-stage cart) */
.pcard,.pkcard{position:relative}
.pcard .add,.pkcard .add{position:absolute;bottom:12px;inset-inline-end:12px;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);
  background:var(--card);color:var(--ink);font:300 22px/1 var(--f);cursor:pointer;display:grid;place-items:center;
  opacity:0;transform:translateY(6px);transition:opacity var(--t-ui) var(--ease-out),transform var(--t-ui) var(--ease-out),background var(--t-ui) var(--ease-out),color var(--t-ui) var(--ease-out)}
.pcard:hover .add,.pkcard:hover .add,.pcard .add:focus-visible,.pkcard .add:focus-visible{opacity:1;transform:none}
.pcard .add:hover,.pkcard .add:hover{background:var(--ink);color:var(--bg)}
@media(hover:none){.pcard .add,.pkcard .add{opacity:1;transform:none}}

/* ═══ the phone menu (R40) — one minimal button, one porcelain overlay ═══ */
.mbtn{display:none;width:46px;height:46px;margin-inline-start:4px;padding:0;border:0;background:none;
  cursor:pointer;color:var(--ink);place-content:center;gap:7px}
.mbtn i{display:block;width:23px;height:1.5px;background:currentColor;border-radius:1px}
.phmenu[hidden]{display:none}
.phmenu{position:fixed;inset:0;z-index:88;overflow-y:auto;overscroll-behavior:contain;
  background:radial-gradient(760px 520px at 86% -8%,rgba(233,201,143,.42),transparent 62%),var(--bg);
  /* 2026-09-03 (launch audit, CRITICAL): justify-content:center on an overflow-y:auto
     box clips the FIRST item unreachably when the content is taller than the box
     (landscape phones: the first nav link sat at top:-57 and scrollTop cannot go
     below 0). safe centering = auto margins on the content, which collapse instead
     of clipping. */
  display:flex;flex-direction:column;justify-content:flex-start;
  padding:calc(env(safe-area-inset-top,0px) + 64px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 34px);
  opacity:0;transition:opacity .38s var(--ease-out)}
html.menu-open .phmenu{opacity:1}
html.menu-open{overflow:hidden}
/* auto margins on the FLOW children (the close button is absolute and would swallow
   them): they centre when there is room and collapse when there is not, instead of
   clipping the first item out of reach */
.phmenu .phm-nav{margin-block-start:auto}
.phmenu .phm-foot{margin-block-end:auto}
.phm-x{position:absolute;top:calc(env(safe-area-inset-top,0px) + 12px);
  inset-inline-end:calc(var(--gutter) - 11px);width:46px;height:46px;display:grid;place-items:center;
  border:0;background:none;cursor:pointer;color:var(--ink)}
.phm-x svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
.phm-nav{display:flex;flex-direction:column;gap:0}
.phm-nav a{display:block;padding:11px 0;min-height:44px;
  font:600 clamp(29px,8.4vw,40px)/1.3 var(--f);letter-spacing:-.015em;
  background:linear-gradient(100deg,var(--ink) 34%,var(--honey) 50%,var(--ink) 66%);
  background-size:260% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  opacity:0;transform:translateY(16px);
  transition:opacity .5s var(--ease-out),transform .55s var(--ease-out),background-position .7s var(--ease-out)}
html.menu-open .phm-nav a{opacity:1;transform:none}
.phm-nav a:nth-child(1){transition-delay:.05s}
.phm-nav a:nth-child(2){transition-delay:.1s}
.phm-nav a:nth-child(3){transition-delay:.15s}
.phm-nav a:nth-child(4){transition-delay:.2s}
.phm-nav a:nth-child(5){transition-delay:.25s}
.phm-nav a[aria-current],.phm-nav a:active{background-position:0 0}
.phm-foot{margin-top:34px;padding-top:20px;border-top:1px solid var(--line);
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;
  opacity:0;transform:translateY(12px);transition-delay:.3s;
  transition:opacity .5s var(--ease-out),transform .55s var(--ease-out)}
html.menu-open .phm-foot{opacity:1;transform:none}
.phmenu .cartpill{margin-inline-start:0;min-height:44px;display:inline-flex;align-items:center;gap:10px;
  font:600 16px/1 var(--f);color:var(--ink);opacity:1}
.phmenu .cartpill svg{width:22px;height:22px}
.phmenu .cartpill .n{position:static;display:none;transform:none;min-width:23px;height:23px;padding:0 7px;
  font:700 12.5px/23px var(--f);border-radius:999px;background:var(--honey);color:#241705}
.phmenu .cartpill.has .n{display:inline-block}
.phm-wa{min-height:44px;display:inline-flex;align-items:center;font:600 16px/1 var(--f);color:var(--honey-deep)}
/* the questionnaire line in the phone menu: the nav's own type, in honey (operator 2026-09-05) */
.phm-cta{display:block;padding:11px 0;min-height:44px;margin:0;border:0;
  font:600 clamp(29px,8.4vw,40px)/1.3 var(--f);letter-spacing:-.015em;color:var(--honey-deep);
  opacity:0;transform:translateY(16px);
  transition:opacity .5s var(--ease-out) .3s,transform .55s var(--ease-out) .3s}
html.menu-open .phm-cta{opacity:1;transform:none}
.phm-cta:active{color:var(--ink)}
@media(max-width:760px){
  header nav,header.shell nav{display:none}
  .mbtn{display:grid}
}
@media (prefers-reduced-motion:reduce){
  .phmenu,.phm-nav a,.phm-foot{transition:none}
  .phm-nav a,.phm-foot{opacity:1;transform:none}
}

/* ═══ phone (R40) — the same page, sized for a hand ═══ */
@media(max-width:760px){
  main{padding-top:calc(76px + env(safe-area-inset-top,0px))}
  .btn{padding:15px 24px;min-height:46px;line-height:16px}
  .link{min-height:44px;display:inline-flex;align-items:center}
  .cta{gap:18px;flex-wrap:wrap;margin-top:28px}
  .grid2{gap:30px;margin-top:32px}
  .head{flex-wrap:wrap;gap:12px}
  .pcard .nm{font-size:14px}
  .pcard .pr{font-size:17px}
  .fwm{width:min(96%,1100px);margin-bottom:44px}
  footer.shell{padding:52px var(--gutter) calc(28px + env(safe-area-inset-bottom,0px))}
  .f-in{gap:26px}
  footer.shell .small{margin-top:34px;padding-top:18px;line-height:1.7}
  footer.shell .f-in p a{display:inline-block;min-width:44px;min-height:44px;line-height:44px}
  :root{--act:clamp(66px,9vh,104px)}
}
/* touch: the quick-add on a card is a real 44px target, not a hover crumb */
@media(hover:none){
  .pcard .add,.pkcard .add{width:44px;height:44px;bottom:6px;inset-inline-end:6px;font-size:24px;
    background:rgba(255,255,255,.92);box-shadow:0 4px 14px rgba(96,66,32,.14)}
  .cartpill{min-height:44px;min-width:44px;display:inline-flex;justify-content:center}
}

/* cursor-normalized: dot off, native pointer on */
#cursor{display:none!important}
html,body{cursor:auto!important}


/* reveal-safe: show reveal WRAPPERS only; never touch .ba slider clip/transform */
.rv,[data-rv],.wipe,.figw{opacity:1!important;visibility:visible!important}
.rv,[data-rv]{transform:none!important}
.wipe:not(.ba):not(.ba *){clip-path:none!important}
