/* THE ATELIER MENU — sitewide (blessed 2026-07-25). Demo: nav-atelier-refined.html */
/* ============================================================
   THE ATELIER — refined. Destination-forward index menu.
   Left: quiet gold contents (no media). Right: the order act.
   All new rules lux-/wow-. Shared sheets untouched.
   ------------------------------------------------------------
   TYPE SCALE (studio rules — no rogue 10–15px content sizes,
   display face never below ~24px, one uniform chrome tier,
   tabular numerals, consistent eyebrow tracking):
     --t-chrome  12px  uppercase +0.22em   (labels · numerals · roles · actions)
     --t-body    16px  sentence case        (invite · hero lede)
     display faces are all clamp()ed well above 24px.
   ============================================================ */
:root{
  --wow-void:#001215;
  --wow-line:rgba(211,173,90,.30);
  --wow-line-soft:rgba(233,242,231,.13);
  --lux-ease:var(--ease-out,cubic-bezier(.4,0,.2,1));
  --lux-slow:cubic-bezier(.16,1,.3,1);
  /* type scale */
  --t-chrome:.75rem;      /* 12px — the single small/chrome tier */
  --t-body:1rem;          /* 16px — readable body */
  --track-chrome:.22em;
  --disp:var(--font-display,"Carla Sans","Times New Roman",serif);
  --sans:var(--font-sans,"Neue Haas Grotesk","Helvetica Neue",Arial,sans-serif);
}
*{box-sizing:border-box}
html,body{margin:0}
body.lux-locked{overflow:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* chrome tier — one uniform small style */
.chrome{font-size:var(--t-chrome);letter-spacing:var(--track-chrome);text-transform:uppercase;font-family:var(--sans)}

/* ---------- Resting header ---------- */
.wow-header{
  position:fixed;inset:0 0 auto 0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;
  padding:clamp(18px,3vw,34px) clamp(20px,5vw,64px);pointer-events:none;
}
.wow-header a,.wow-header button{pointer-events:auto}
/* scroll behavior: scrim when over content, hide on scroll-down, return on scroll-up */
.wow-header::before{
  content:"";position:absolute;inset:0 0 -28px 0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg, rgba(0,24,28,.92) 0%, rgba(0,24,28,.62) 62%, transparent 100%);
  opacity:0;transition:opacity .45s var(--lux-ease);
}
.wow-header.is-scrolled::before{opacity:1}
.wow-header{transition:transform .5s var(--lux-slow)}
.wow-header.is-tucked{transform:translateY(-110%)}
@media (prefers-reduced-motion:reduce){
  .wow-header{transition:none}
  .wow-header.is-tucked{transform:none}   /* never hide chrome under reduced motion */
}
.wow-wordmark img{height:clamp(22px,2.4vw,30px);width:auto;opacity:.96}
.wow-menu-btn{
  appearance:none;background:none;border:0;cursor:pointer;color:var(--text-soft,#e7f2e7);
  display:flex;align-items:center;gap:.85em;padding:6px 2px;
}
/* refined menu affordance — two hairlines, not one */
.wow-menu-btn .glyph{display:inline-flex;flex-direction:column;gap:6px;width:26px}
.wow-menu-btn .glyph i{display:block;height:1px;background:currentColor;width:100%;opacity:.85;transition:width .45s var(--lux-ease)}
.wow-menu-btn .glyph i:last-child{width:62%;margin-left:auto}
.wow-menu-btn:hover .glyph i:last-child{width:100%}

/* header actions cluster */
.wow-actions{display:flex;align-items:center;gap:clamp(18px,2.4vw,34px)}

/* ALWAYS-VISIBLE ORDER CTA — solid gold, one gesture: foil catching light.
   A single slow specular sweep on hover; a breath of tracking. Nothing figurative. */
.wow-order-wrap{position:relative}
.wow-order{
  appearance:none;cursor:pointer;font-family:var(--sans);position:relative;overflow:hidden;
  color:var(--blue-deep,#00363f);background:var(--gold,#d3ad5a);
  border:0;border-radius:999px;
  padding:.72em 1.5em;display:inline-flex;align-items:center;
  letter-spacing:var(--track-chrome);
  transition:background .5s var(--lux-ease);
}
.wow-order::after{/* the foil sheen */
  content:"";position:absolute;top:-40%;bottom:-40%;left:-30%;width:34%;
  background:linear-gradient(105deg,transparent 8%,rgba(255,252,240,.55) 50%,transparent 92%);
  transform:translateX(-120%) rotate(8deg);pointer-events:none;
}
.wow-order:hover::after,.wow-order:focus-visible::after{transition:transform 1.1s var(--lux-slow);transform:translateX(460%) rotate(8deg)}
.wow-order:hover,.wow-order:focus-visible{background:var(--gold-light,#f2db92)}
.wow-order[aria-expanded="true"]{background:var(--gold-light,#f2db92)}
.wow-order:focus-visible{outline:2px solid var(--gold-light,#f2db92);outline-offset:3px}

/* quick-order popover */
.wow-orderpop{
  position:absolute;top:calc(100% + 14px);right:0;z-index:50;width:min(330px,86vw);
  background:linear-gradient(180deg, rgba(0,34,39,.97), rgba(0,18,21,.98));
  border:1px solid var(--wow-line);border-radius:4px;
  box-shadow:0 30px 90px -40px rgba(0,0,0,.85);padding:6px;
  opacity:0;clip-path:inset(0 0 100% 0);pointer-events:none;
  transition:opacity .3s var(--lux-ease),clip-path .55s var(--lux-slow);
}
.wow-orderpop.is-open{opacity:1;clip-path:inset(0 0 0 0);pointer-events:auto}
.wow-orderpop[hidden]{display:none}
.wow-orderpop-link{display:block;padding:16px 18px;border-radius:3px;transition:background .35s var(--lux-ease)}
.wow-orderpop-link + .wow-orderpop-link{border-top:1px solid var(--wow-line-soft)}
.wow-orderpop-link:hover{background:rgba(211,173,90,.08)}
.wow-orderpop-link .l{display:block;font-family:var(--disp);text-transform:uppercase;letter-spacing:.06em;font-size:1.35rem;line-height:1;color:var(--text-light,#fbf8f4)}
.wow-orderpop-link .d{display:block;margin-top:.55em;color:var(--gold,#d3ad5a)}
.wow-orderpop-link .a{display:inline-flex;align-items:center;gap:.5em;margin-top:.7em;color:var(--text-soft,#e7f2e7);transition:gap .4s var(--lux-slow),color .4s}
.wow-orderpop-link:hover .a{gap:.85em;color:var(--gold-light,#f2db92)}

@media (max-width:560px){
  .wow-actions{gap:10px}
  .wow-order{padding:.66em 1.15em}
}

/* ============================================================
   THE MENU
   ============================================================ */
.lux-menu{
  position:fixed;inset:0;z-index:60;
  display:grid;grid-template-columns:1.12fr .88fr;
  background:linear-gradient(90deg, var(--wow-void) 0%, #001a1f 46%, #00272c 100%);  /* OPAQUE */
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .7s var(--lux-ease),visibility .7s;
}
.lux-menu.is-open{opacity:1;visibility:visible;pointer-events:auto}
.lux-menu.is-open::after{animation:luxCurtain .9s var(--lux-slow) forwards}
@keyframes luxCurtain{to{transform:scaleY(0)}}
/* curtain wipe on open */
.lux-menu::after{content:"";position:absolute;inset:0;background:var(--wow-void);
  transform-origin:top;transform:scaleY(1);z-index:5;pointer-events:none}

.lux-close{
  position:absolute;top:clamp(18px,3vw,34px);right:clamp(20px,5vw,64px);z-index:30;
  appearance:none;background:none;border:0;cursor:pointer;color:var(--text-soft,#e7f2e7);
  display:flex;align-items:center;gap:.7em;
}
.lux-close .x{position:relative;width:16px;height:16px;display:inline-block}
.lux-close .x::before,.lux-close .x::after{content:"";position:absolute;top:50%;left:0;width:100%;height:1px;background:currentColor;opacity:.75}
.lux-close .x::before{transform:rotate(45deg)}.lux-close .x::after{transform:rotate(-45deg)}
.lux-close:hover{color:var(--gold-light,#f2db92)}

/* ---------- LEFT · quiet gold contents (no media) ---------- */
.lux-left{
  position:relative;z-index:10;
  padding:clamp(84px,12vh,150px) clamp(28px,5vw,86px) clamp(80px,12vh,140px);
  display:flex;flex-direction:column;justify-content:center;
  container-type:inline-size;   /* row type sizes off THIS column so the longest item fits one line */
}
.lux-kicker{color:var(--gold,#d3ad5a);margin:0 0 clamp(26px,4vh,40px);letter-spacing:.42em}
.lux-nav{list-style:none;margin:0;padding:0}
.lux-nav li{position:relative}
.lux-rule{height:1px;background:var(--wow-line-soft);transform:scaleX(0);transform-origin:left}
.lux-menu.is-open .lux-rule{animation:luxDraw .8s var(--lux-slow) forwards;animation-delay:calc(var(--i,0)*80ms + .35s)}
@keyframes luxDraw{to{transform:scaleX(1)}}

.lux-link{display:flex;align-items:baseline;gap:clamp(14px,1.6vw,26px);padding:clamp(12px,1.9vh,22px) 0}
.lux-num{
  font-family:var(--sans);font-size:var(--t-chrome);letter-spacing:.18em;
  font-variant-numeric:tabular-nums;color:var(--text-muted,#a9bcb6);opacity:.7;min-width:2.6em;
  transition:color .5s var(--lux-ease),opacity .5s;
}
.lux-word{
  font-family:var(--disp);font-weight:400;text-transform:uppercase;
  white-space:nowrap;                   /* every item ONE line */
  font-size:min(3.6rem,6.9cqw);         /* uniform size, fitted to the column's width (longest item rules) */
  line-height:.96;letter-spacing:.03em;
  color:var(--gold,#d3ad5a);           /* GOLD contents */
  transition:color .5s var(--lux-ease),letter-spacing .6s var(--lux-slow);
}
.lux-link:hover .lux-word,.lux-link:focus-visible .lux-word{color:var(--gold-light,#f2db92);letter-spacing:.05em}
.lux-link:hover .lux-num,.lux-link:focus-visible .lux-num{color:var(--gold,#d3ad5a);opacity:1}
.lux-link:focus-visible{outline:1px solid var(--gold,#d3ad5a);outline-offset:6px}

/* sister brands (no label — the two external lockups ARE the statement; one horizontal line on desktop) */
.lux-siblings{margin-top:clamp(38px,6vh,64px);display:flex;flex-wrap:nowrap;gap:clamp(18px,2.4vw,40px);align-items:center}
.lux-sib{
  font-size:var(--t-chrome);letter-spacing:.2em;text-transform:uppercase;color:var(--text-muted,#a9bcb6);
  display:inline-flex;align-items:center;gap:.5em;white-space:nowrap;transition:color .5s var(--lux-ease);
}
.lux-sib sup{font-size:.7em}
.lux-sib .ext{font-size:.82em;color:var(--gold,#d3ad5a);opacity:.85}
.lux-sib:hover{color:var(--text-light,#fbf8f4)}
.lux-sib:focus-visible{outline:1px solid var(--gold,#d3ad5a);outline-offset:5px}

/* ---------- RIGHT · the order act (the destination) ---------- */
.lux-order{
  position:relative;z-index:10;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(70px,10vh,120px) clamp(30px,4.5vw,72px);
  border-left:1px solid var(--wow-line);
}
.lux-order-media{position:absolute;inset:0;z-index:-2}
.lux-order-media video,.lux-order-media img{width:100%;height:100%;object-fit:cover;opacity:.5}
.lux-order::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(90% 70% at 50% 30%, rgba(211,173,90,.15) 0%, transparent 60%),
             linear-gradient(180deg, rgba(0,34,39,.66), rgba(0,18,21,.92))}
.lux-order-inner{
  position:relative;border:1px solid var(--wow-line);
  padding:clamp(30px,4vw,52px) clamp(24px,3.4vw,44px);
  background:linear-gradient(180deg, rgba(0,34,39,.32), rgba(0,18,21,.32));
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  box-shadow:0 0 0 1px rgba(211,173,90,.06), 0 40px 120px -50px rgba(0,0,0,.7);
}
.lux-order-inner::before,.lux-order-inner::after{content:"";position:absolute;width:14px;height:14px;border:1px solid var(--gold,#d3ad5a);opacity:.7}
.lux-order-inner::before{top:-1px;left:-1px;border-right:0;border-bottom:0}
.lux-order-inner::after{bottom:-1px;right:-1px;border-left:0;border-top:0}
.lux-order-kicker{color:var(--gold,#d3ad5a);margin:0 0 clamp(22px,3vh,32px);letter-spacing:.46em;display:flex;align-items:center;gap:1em}
.lux-order-kicker::after{content:"";flex:1;height:1px;background:var(--wow-line)}

/* symmetric portals: NAME · Authorized provider portal · Order via NAME ↗ */
.lux-portal{display:block;position:relative;padding:clamp(20px,2.8vh,30px) 0;border-top:1px solid var(--wow-line-soft)}
.lux-portal:first-of-type{border-top:0}
.lux-portal-top{display:flex;align-items:baseline;justify-content:space-between;gap:1em}
.lux-portal-name{
  font-family:var(--disp);font-weight:400;text-transform:uppercase;
  font-size:clamp(1.7rem,2.8vw,2.35rem);line-height:1;letter-spacing:.06em;
  color:var(--text-light,#fbf8f4);position:relative;transition:color .5s var(--lux-ease);
}
.lux-portal-name::after{content:attr(data-t);position:absolute;inset:0;color:var(--gold-light,#f2db92);
  clip-path:inset(0 100% 0 0);transition:clip-path .6s var(--lux-slow)}
.lux-portal .ext{font-size:1rem;color:var(--gold,#d3ad5a);align-self:center}
.lux-portal-role{display:block;margin-top:.85em;color:var(--gold,#d3ad5a);letter-spacing:.18em}
.lux-portal-action{display:inline-flex;align-items:center;gap:.55em;margin-top:1em;color:var(--text-soft,#e7f2e7);letter-spacing:.24em;transition:gap .5s var(--lux-slow),color .5s}
.lux-portal:hover .lux-portal-name,.lux-portal:focus-visible .lux-portal-name{color:transparent}
.lux-portal:hover .lux-portal-name::after,.lux-portal:focus-visible .lux-portal-name::after{clip-path:inset(0 0 0 0)}
.lux-portal:hover .lux-portal-action,.lux-portal:focus-visible .lux-portal-action{gap:.95em;color:var(--gold-light,#f2db92)}
.lux-portal:focus-visible{outline:1px solid var(--gold,#d3ad5a);outline-offset:8px}

.lux-invite{
  margin-top:clamp(22px,3vh,32px);padding-top:clamp(20px,2.6vh,26px);border-top:1px solid var(--wow-line);
  font-size:var(--t-body);line-height:1.6;color:var(--text-muted,#a9bcb6);max-width:38ch;
}
.lux-invite b{color:var(--text-soft,#e7f2e7);font-weight:400}

/* ---------- reveal choreography ---------- */
.lux-reveal{opacity:0}
.lux-menu.is-open .lux-reveal{animation:luxRise .85s var(--lux-slow) both;animation-delay:calc(var(--i,0)*70ms + .45s)}
@keyframes luxRise{
  from{opacity:0;transform:translateY(26px);clip-path:inset(0 0 100% 0)}
  to{opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0)}
}


/* ============================================================
   MOBILE — single column, contents then the order act.
   No side panel, no video (perf + clarity); the framed order
   block stays the brightest, most deliberate thing on screen.
   ============================================================ */
@media (max-width:900px){
  /* MOBILE = its own composition: one viewport, no hunting.
     Contents breathe in the upper zone; the ORDER band is pinned to the
     bottom — the thumb zone — so the destination is always in reach. */
  .wow-menu-btn{border:1px solid rgba(211,173,90,.5);border-radius:999px;padding:.6em 1.05em;gap:.6em}
  .wow-menu-btn .glyph{width:18px}

  .lux-menu{grid-template-columns:1fr;grid-template-rows:1fr auto;overflow-y:auto;-webkit-overflow-scrolling:touch}
  .lux-left{padding:clamp(76px,12vh,104px) 26px 18px;justify-content:center}
  .lux-word{font-size:min(2.9rem,calc(8.3cqw - 4px));white-space:nowrap}  /* fitted: every item ONE line on phones too */
  .lux-link{padding:14px 0}
  .lux-siblings{margin-top:26px;flex-wrap:wrap}   /* mobile may stack; desktop stays one line */

  /* the order band — compact, bottom-anchored, two portals side by side */
  .lux-order{border-left:0;border-top:1px solid var(--wow-line);
    padding:18px 20px calc(22px + env(safe-area-inset-bottom,0px));justify-content:flex-end}
  .lux-order-media{display:none}                 /* no video on mobile */
  .lux-order::before{background:linear-gradient(180deg, rgba(0,34,39,.5), rgba(0,18,21,.9))}
  .lux-order-inner{backdrop-filter:none;-webkit-backdrop-filter:none;
    display:grid;grid-template-columns:1fr 1fr;gap:0 22px;
    padding:20px 22px 22px}
  .lux-order-kicker{grid-column:1 / -1;margin-bottom:14px}
  .lux-portal{border-top:0;padding:6px 0 2px}
  .lux-portal + .lux-portal{border-left:1px solid var(--wow-line-soft);padding-left:22px}
  .lux-portal-name{font-size:clamp(1.5rem,6.4vw,1.9rem)}
  .lux-portal-role{display:none}                  /* subtraction: the act is the label here */
  .lux-portal .ext{display:none}                  /* one ↗ per portal — the action row carries it */
  .lux-portal-action .via{display:none}           /* the name is right above — "Order ↗" is enough */
  .lux-portal-action{margin-top:.65em}
                           /* keep mobile clean */
}

/* ============================================================
   REDUCED MOTION — reveal collapses to a clean fade
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  .lux-menu,.lux-menu.is-open::after{transition:opacity .3s ease}
  .lux-menu.is-open::after{animation:none;transform:scaleY(0)}
    .lux-menu.is-open .lux-reveal{animation:luxFade .5s ease both;animation-delay:0s}
  .lux-menu.is-open .lux-rule{animation:none;transform:scaleX(1)}
  .lux-portal-name::after{transition:opacity .3s ease}
  /* order CTA: no sheen sweep, no tracking shift; popover fades */
  .wow-order::after{display:none}
  .wow-order:hover,.wow-order:focus-visible{letter-spacing:var(--track-chrome)}
  .wow-orderpop{clip-path:none;transition:opacity .3s ease}
  @keyframes luxFade{from{opacity:0}to{opacity:1}}
}

/* floating ORDER — bottom-right, visible ONLY while the header (and its Order) is tucked away */
.wow-fab{
  position:fixed;right:clamp(16px,3vw,36px);bottom:clamp(16px,3vh,32px);z-index:45;
  appearance:none;border:0;cursor:pointer;border-radius:999px;
  color:var(--blue-deep,#00363f);background:var(--gold,#d3ad5a);
  padding:.8em 1.5em;font-family:var(--sans);
  box-shadow:0 18px 50px -18px rgba(0,0,0,.65);
  opacity:0;transform:translateY(14px);pointer-events:none;
  transition:opacity .4s var(--lux-ease),transform .4s var(--lux-slow),background .4s;
}
.wow-fab.is-on{opacity:1;transform:none;pointer-events:auto}
.wow-fab:hover{background:var(--gold-light,#f2db92)}
.wow-fab:focus-visible{outline:2px solid var(--gold-light,#f2db92);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.wow-fab{transition:opacity .3s ease;transform:none}}

/* ORDER popover — real-phone fix (Lonnie 04:57 screenshot: panel hung left, clipped at viewport).
   On phones it becomes a full-width sheet under the nav instead of a right-anchored flyout. */
@media (max-width:560px){
  .wow-orderpop{position:fixed !important;left:14px !important;right:14px !important;top:72px !important;width:auto !important;min-width:0 !important;max-width:none !important}
}