/* NAVBAR - "Editorial" with tabs.
   Names on the left, six plain words on the right, RSVP in gold, EN / FR as
   small text; a fine rule under the current page. No capsule, no borders.
   Specificity note: html:root equals the old attribute selector it replaced
   (0,1,1) and html:root:root equals the two-attribute one (0,2,1), so this
   still outranks the earlier header rules in styles.css. Load it after
   styles.css. */

/* NAV LAB variant 4 "Editorial" - every rule scoped under html:root.
   Plain type on the page: names left, words right, a dot for "you are here". */

html:root{--bar-h:76px}

/* ---- colour roles (switched once for the photo state) ---- */
html:root .ef-bar{--c:var(--ink);--c2:var(--ink-2);--h:var(--gold-d);--acc:var(--gold-d);--dot:var(--gold);--sh:none}
html:root body.on-home .ef-bar:not(.is-scrolled){--c:#fff;--c2:#fff;--h:#EBD9AB;--acc:#EBD9AB;--dot:#EBD9AB;--sh:0 1px 2px rgba(20,16,8,.45),0 1px 14px rgba(20,16,8,.6)}

/* ---- the bar: flush, full width, no line, no pill ---- */
html:root .ef-bar{top:0;left:0;transform:none;width:100%;padding:0 clamp(22px,4.4vw,64px);border-radius:0;border:0;
  background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;
  transition:background .4s ease}
html:root .ef-bar.is-scrolled{top:0;width:100%;padding:0 clamp(22px,4.4vw,64px);border-radius:0;
  background:rgba(247,244,236,.97);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:none}
html:root body.on-home .ef-bar:not(.is-scrolled){background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
html:root .ef-progress{display:none}

html:root .ef-bar .ef-bar-in{max-width:1480px;height:var(--bar-h);display:flex;align-items:center;gap:0;}

/* ---- names: display serif, no monogram ---- */
html:root body .ef-bar .ef-bar-in .ef-mono{display:none}
html:root body .ef-bar .ef-bar-in .ef-brand{gap:0;margin-right:auto;padding:6px 0}
html:root body .ef-bar .ef-bar-in .ef-brand .nm{font-size:25px;font-weight:500;letter-spacing:.01em;color:var(--c);text-shadow:var(--sh);transition:color .35s}
html:root body .ef-bar .ef-bar-in .ef-brand .nm em{font-weight:400;color:var(--acc);padding:0 .12em;text-shadow:var(--sh)}

/* ---- the six words ---- */
html:root body .ef-bar .ef-bar-in .ef-nav{display:flex;align-items:center;gap:clamp(19px,2.1vw,32px);padding:0;margin-right:clamp(26px,3vw,46px);
  background:none;border:0;border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none}
html:root .ef-nav-thumb{display:none}
html:root body .ef-bar .ef-bar-in .ef-nav a,
html:root body .ef-bar .ef-bar-in .ef-cta{position:relative;display:inline-grid;justify-items:center;padding:8px 0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;
  font-family:var(--f);font-size:18.5px;font-weight:500;letter-spacing:.01em;line-height:1.2;white-space:nowrap;
  color:var(--c2);text-shadow:var(--sh);transition:color .35s var(--ul-ease)}
/* roman and its italic ghost share one cell; the cell is as wide as the wider */
html:root .ef-bar .ef-nav a > .en,
html:root .ef-bar .ef-nav a > .fr,
html:root .ef-bar .ef-cta > .en,
html:root .ef-bar .ef-cta > .fr,
html:root .ef-bar .ef4-g{grid-area:1/1;transition:opacity .16s ease}
html:root .ef-bar .ef-nav a > .en,html:root .ef-bar .ef-nav a > .fr,html:root .ef-bar .ef-cta > .en,html:root .ef-bar .ef-cta > .fr{transition:opacity .14s ease}
html:root .ef-bar .ef4-g{font-style:italic;opacity:0;pointer-events:none}
html:root .ef-bar .ef-nav a:focus-visible > .en,html:root .ef-bar .ef-nav a:focus-visible > .fr,html:root .ef-bar .ef-cta:focus-visible > .en,html:root .ef-bar .ef-cta:focus-visible > .fr{opacity:0}@media(hover:hover){html:root .ef-bar .ef-nav a:hover > .en,html:root .ef-bar .ef-nav a:hover > .fr,html:root .ef-bar .ef-cta:hover > .en,html:root .ef-bar .ef-cta:hover > .fr{opacity:0}}
html:root .ef-bar .ef-nav a:focus-visible .ef4-g,html:root .ef-bar .ef-cta:focus-visible .ef4-g{opacity:1;transition:opacity .3s ease .08s}@media(hover:hover){html:root .ef-bar .ef-nav a:hover .ef4-g,html:root .ef-bar .ef-cta:hover .ef4-g{opacity:1;transition:opacity .3s ease .08s}}
html:root body .ef-bar .ef-bar-in .ef-nav a:focus-visible{color:var(--h)}@media(hover:hover){html:root body .ef-bar .ef-bar-in .ef-nav a:hover{color:var(--h)}}
html:root body .ef-bar .ef-bar-in .ef-nav a.on{color:var(--c);font-weight:500}
@media(hover:hover){html:root body .ef-bar .ef-bar-in .ef-nav a.on:hover{color:var(--c)}}
html:root .ef-bar .ef-nav a:focus-visible,
html:root .ef-bar .ef-cta:focus-visible{outline-offset:6px}

/* current page: one small gold dot under the word */
html:root .ef-bar .ef-nav a::after{content:'';position:absolute;left:50%;bottom:-3px;width:4px;height:4px;margin-left:-2px;border-radius:50%;
  background:var(--dot);opacity:0;transform:scale(.3);transition:opacity .35s var(--ul-ease),transform .35s var(--ul-ease)}
html:root .ef-bar .ef-nav a.on::after{opacity:1;transform:none}

/* ---- right cluster ---- */
html:root .ef-bar .ef-bar-in .ef-right{gap:clamp(20px,2.2vw,32px);justify-self:auto;flex:none}

/* RSVP: gold, with a short gold rule that lengthens on hover / on the page */
html:root body .ef-bar .ef-bar-in .ef-cta{color:var(--acc);font-weight:500}
html:root body .ef-bar .ef-bar-in .ef-cta .ar{display:none}
html:root body .ef-bar .ef-bar-in .ef-cta:focus-visible,html:root body .ef-bar .ef-bar-in .ef-cta.on{background:none;border:0;box-shadow:none;transform:none;color:var(--c)}@media(hover:hover){html:root body .ef-bar .ef-bar-in .ef-cta:hover{background:none;border:0;box-shadow:none;transform:none;color:var(--c)}}
html:root .ef-bar .ef-cta::after{content:'';position:absolute;left:0;bottom:1px;width:100%;height:1px;background:var(--acc);
  transform:scaleX(.34);transform-origin:left center;transition:transform .45s var(--ul-ease),background .35s}
html:root .ef-bar .ef-cta:focus-visible::after,html:root .ef-bar .ef-cta.on::after{transform:none}@media(hover:hover){html:root .ef-bar .ef-cta:hover::after{transform:none}}

/* EN / FR: tiny plain text, a slash between */
html:root body .ef-bar .ef-bar-in .ef-lang{display:flex;align-items:center;gap:3px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
html:root .ef-bar .ef-lang::before{display:none}
html:root body .ef-bar .ef-bar-in .ef-lang button{min-width:0;padding:6px 3px;border-radius:0;font-family:var(--fb);font-size:13.5px;font-weight:500;letter-spacing:.04em;
  color:var(--c2);opacity:.88;text-shadow:var(--sh);transition:color .3s,opacity .3s}
@media(hover:hover){html:root body .ef-bar .ef-bar-in .ef-lang button:hover{color:var(--h);opacity:1}}
html:root body .ef-bar .ef-bar-in .ef-lang button[aria-pressed="true"]{color:var(--c);opacity:1}
html:root .ef-bar .ef-lang .sep{display:inline-block;width:auto;height:auto;background:none}
html:root .ef-bar .ef-lang .sep::before{content:'/';font-family:var(--fb);font-size:13.5px;color:var(--c2);opacity:.6;text-shadow:var(--sh)}

/* ---- burger: three plain hairlines ---- */
html:root body .ef-bar .ef-bar-in .ef-burger{width:34px;height:34px;gap:6px;border:0;border-radius:0;background:none;margin-left:0}
html:root body .ef-bar .ef-bar-in .ef-burger span{width:24px;height:1px;border-radius:0;background:var(--c)}
html:root body.drawer-open .ef-bar .ef-bar-in .ef-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
html:root body.drawer-open .ef-bar .ef-bar-in .ef-burger span:nth-child(2){transform:none;opacity:0}
html:root body.drawer-open .ef-bar .ef-bar-in .ef-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---- below 1040px the words fold into the drawer ---- */
html:root body .ef-bar .ef-bar-in .ef-burger{display:none}
@media(max-width:1040px){
  html:root body .ef-bar .ef-bar-in .ef-nav{display:none}
  html:root body .ef-bar .ef-bar-in .ef-burger{display:flex}
  html:root body .ef-bar .ef-bar-in .ef-right{gap:32px}
}
@media(max-width:860px){
  html:root{--bar-h:66px}
  html:root body .ef-bar .ef-bar-in .ef-brand .nm{font-size:22px}
}
@media(max-width:560px){
  html:root .ef-bar,html:root .ef-bar.is-scrolled{padding:0 20px}
  html:root body .ef-bar .ef-bar-in .ef-brand .nm{font-size:19.5px}
  html:root body .ef-bar .ef-bar-in .ef-right{gap:28px}
  html:root body .ef-bar .ef-bar-in .ef-cta{font-size:16px}
}
@media(max-width:380px){
  html:root .ef-bar,html:root .ef-bar.is-scrolled{padding:0 16px}
  html:root body .ef-bar .ef-bar-in .ef-brand .nm{font-size:18px}
  html:root body .ef-bar .ef-bar-in .ef-right{gap:22px}
}

/* ---- drawer: a plain cream page of large type ---- */
html:root .ef-backdrop{background:rgba(30,26,18,.32);-webkit-backdrop-filter:none;backdrop-filter:none}
html:root .ef-drawer{width:min(440px,100vw);max-width:100vw;border-radius:0;box-shadow:none;padding:0 clamp(26px,6vw,44px) 36px;background:var(--paper)}
html:root .ef-drawer-head{height:70px;padding:0;margin-bottom:10px}
html:root .ef-drawer-mark{display:none}
html:root .ef-drawer-head{justify-content:flex-end}
html:root .ef-drawer-x{width:34px;height:34px;margin-right:-8px;border:0;border-radius:0;background:none;color:var(--ink)}
html:root .ef-drawer-x svg{stroke-width:1.1;width:20px;height:20px}
html:root .ef-drawer-nav{border-top:0;gap:0;padding:10px 0 20px;flex:0 0 auto}
html:root .ef-drawer-nav a{position:relative;padding:11px 0;border-radius:0;background:none;box-shadow:none;font-size:32px;font-weight:400;font-style:normal;line-height:1.15;gap:20px;color:var(--ink-3);transition:color .3s}
@media(hover:hover){html:root .ef-drawer-nav a:hover{background:none;color:var(--gold-d)}}
html:root .ef-drawer-nav a.on{background:none;box-shadow:none;color:var(--ink)}
html:root .ef-drawer-nav a .no{font-size:12.5px;font-weight:500;letter-spacing:.04em;font-style:normal;color:var(--gold-d);min-width:22px;opacity:.85}
/* the current page: its word carries a short gold underline, nothing else changes */
html:root .ef-drawer-nav a .en,html:root .ef-drawer-nav a .fr{text-decoration:none}
html:root .ef-drawer-nav a.on :is(.en,.fr){text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:8px}

/* RSVP: the one filled button in the menu, set apart from the list */
html:root .ef-drawer-rsvp{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px 0 0;padding:17px 22px;border-radius:100px;
  background:var(--gold);color:#FDFBF6;border:1px solid var(--gold-d);font-family:var(--f);font-size:22px;font-weight:500;line-height:1.1;
  box-shadow:0 1px 0 rgba(255,255,255,.28) inset,0 8px 18px -8px rgba(138,104,37,.55);transition:background .25s,transform .25s var(--ul-ease)}
html:root .ef-drawer-rsvp .ar{width:16px;height:11px;flex:none;transition:transform .3s var(--ul-ease)}
@media(hover:hover){html:root .ef-drawer-rsvp:hover{background:var(--gold-d)}}
@media(hover:hover){html:root .ef-drawer-rsvp:hover .ar{transform:translateX(3px)}}
html:root .ef-drawer-rsvp.on{background:transparent;color:var(--gold-d);box-shadow:none}
html:root .ef-drawer-rsvp.on :is(.en,.fr){text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}

/* language: well clear of the list above, the two flags a little apart */
html:root .ef-drawer-foot{margin-top:auto;padding-top:44px}
html:root .ef-drawer-foot .lbl{font-weight:500;letter-spacing:.04em;margin:0 0 10px}
html:root .ef-drawer-lang{gap:30px;padding:0;border:0;border-radius:0;background:none}
html:root .ef-drawer-lang button{flex:none;padding:6px 0;border-radius:0;font-size:16px;font-weight:400;font-style:normal;color:var(--mute);background:none;box-shadow:none}
html:root .ef-drawer-lang button[aria-pressed="true"]{background:none;box-shadow:none;color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:7px}

/* shared: soft edge when the bar is scrolled (a glow, not a line) */
html:root .ef-bar.is-scrolled{box-shadow:0 16px 32px -24px rgba(60,48,25,.38)}

/* Tabs: a fine rule under the current page, a lighter one on hover. The italic hover
   of the earlier draft is gone, so the roman stays visible on hover and focus. */
@media(hover:hover){html:root:root .ef-bar :is(.ef-nav a,.ef-cta):is(:hover,:focus-visible) > :is(.en,.fr){opacity:1}}
html:root:root .ef-bar .ef4-g{display:none}
html:root:root .ef-bar .ef-nav a::after{display:block;content:'';left:0;right:0;width:auto;height:1.5px;margin:0;bottom:4px;border-radius:1px;
  background:var(--c);opacity:0;transform:scaleX(.35);transform-origin:center;transition:opacity .3s var(--ul-ease),transform .4s var(--ul-ease)}
html:root:root .ef-bar .ef-nav a:focus-visible::after{opacity:.3;transform:none}@media(hover:hover){html:root:root .ef-bar .ef-nav a:hover::after{opacity:.3;transform:none}}
html:root:root .ef-bar .ef-nav a.on::after{opacity:1;transform:none}
html:root:root body .ef-bar .ef-bar-in .ef-nav a:focus-visible{color:var(--c)}@media(hover:hover){html:root:root body .ef-bar .ef-bar-in .ef-nav a:hover{color:var(--c)}}


/* ---- language switch: flat flags ----
   22x15, centred on the bar's midline. The flag is the button's picture and the
   chosen one gets a 1.5px rule exactly as wide as the flag, 4px below it. The
   button is padded out (and pulled back with a negative margin) so the tap
   target stays comfortable without moving the flag. */
html:root body .ef-bar .ef-bar-in .ef-lang{gap:18px;align-items:center}
html:root body .ef-bar .ef-bar-in .ef-lang .sep{display:none}
html:root body .ef-bar .ef-bar-in .ef-lang button{position:relative;display:block;box-sizing:content-box;width:22px;height:15px;
  padding:8px 6px;margin:-8px -6px;font-size:0;line-height:0;text-shadow:none;opacity:.55;transition:opacity .25s}
html:root body .ef-bar .ef-bar-in .ef-lang button::before{content:"";position:absolute;left:6px;top:8px;width:22px;height:15px;border-radius:2.5px;
  background-size:cover;background-position:center;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px rgba(20,16,8,.18)}
html:root body .ef-bar .ef-bar-in .ef-lang button[data-lang="en"]::before{background-image:var(--flag-en)}
html:root body .ef-bar .ef-bar-in .ef-lang button[data-lang="fr"]::before{background-image:var(--flag-fr)}
@media(hover:hover){html:root body .ef-bar .ef-bar-in .ef-lang button:hover{opacity:.9}}
html:root body .ef-bar .ef-bar-in .ef-lang button[aria-pressed="true"]{opacity:1}
html:root body .ef-bar .ef-bar-in .ef-lang button[aria-pressed="true"]::after{content:"";position:absolute;left:6px;top:27px;width:22px;height:1.5px;border-radius:2px;background:var(--c)}


/* ---- phones: RSVP is in the menu only, and the bar stays steady while scrolling ---- */
@media(max-width:760px){
  html:root body .ef-bar .ef-bar-in .ef-cta{display:none}
  html:root .ef-bar.is-scrolled{background:rgba(247,244,236,.98);-webkit-backdrop-filter:none;backdrop-filter:none}
  /* one short fade for the bar and its words, so white-on-cream never shows halfway */
  html:root .ef-bar{transition:background .2s ease}
  html:root body .ef-bar .ef-bar-in .ef-brand .nm{transition:color .2s}
}
