/* The site nav and the site footer, for a page that brings its own design.

   Most pages inline the whole design system, so the chrome's styling comes
   free with the page. /workshops/fresh-draft/ does not: it is Shaan's own
   layout, its own 14KB of CSS, its own palette on paper rather than white.
   Dropping the site nav and footer into that gets an unstyled list of links
   and, worse, his `footer{padding:34px 0 60px;border-top:3px solid}` lands on
   the site footer, because a bare element selector hits every footer on the
   page including one it was never written for.

   So: everything here is scoped under .awshell and sets what it needs rather
   than inheriting it. It depends only on the brand tokens any page defines
   (--ink, --purps, --citron, --slate) and falls back where it must.

   Loaded after the page's own <style>, before aw-chrome.css, by the pages
   that need it: /workshops/fresh-draft/ for all of it, /workshops/ for the
   sign-up form at the foot, which the chassis stylesheet does not carry
   either. A page that already styles that form never loads this file, so
   the rules here cannot reach it. */

.awshell{--aw-maxw:clamp(1240px,90vw,1680px);--aw-gutter:clamp(20px,3.4vw,64px)}

/* ---- NAV ------------------------------------------------------------- */
.awshell.nav-wrap{display:block;background:var(--ink,#10121E);border:0;margin:0;
  padding:0;position:relative;z-index:40}
.awshell .nav-inner{display:flex;align-items:center;justify-content:space-between;
  gap:clamp(16px,2vw,32px);max-width:var(--aw-maxw);margin:0 auto;
  padding:clamp(14px,1.5vw,24px) var(--aw-gutter)}
.awshell .nwm{display:block;color:#fff;line-height:0;text-decoration:none}
.awshell .nwm svg{display:block;height:clamp(20px,1.8vw,30px);width:auto;fill:#fff}
.awshell nav{display:flex;flex-wrap:wrap;align-items:center;
  justify-content:flex-end;gap:clamp(12px,1.8vw,28px);margin:0;padding:0;
  font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);font-weight:500;font-size:15px;
  letter-spacing:-.01em}
.awshell nav a{color:rgba(255,255,255,.78);text-decoration:none;
  font-size:inherit;font-family:inherit}
.awshell nav a:hover{color:#fff}
.awshell nav a[aria-current]{color:#fff}

/* ---- SITE FOOTER ----------------------------------------------------- */
/* .awshell-foot wraps it so his bare `footer{}` rule is outranked rather
   than fought with !important. */
.awshell-foot{display:block;background:var(--ink,#10121E);color:#fff;
  padding:clamp(44px,5vw,80px) 0 calc(clamp(44px,5vw,80px) * .8)}
.awshell-foot footer{display:block;background:none;border:0;margin:0;padding:0;
  max-width:var(--aw-maxw);margin-inline:auto;padding-inline:var(--aw-gutter)}
.awshell-foot .fgrid{display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) auto;
  column-gap:clamp(24px,2.6vw,48px);row-gap:30px;align-items:start}
.awshell-foot .flist a{display:block;font-family:var(--font-body,Spectral,Georgia,serif);
  font-size:15px;line-height:2;color:#BBBDC8;text-decoration:none;
  max-width:none;margin:0}
.awshell-foot .flist a:hover{color:var(--citron,#DFFE8D)}
.awshell-foot .fhead{display:block;font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);
  font-weight:600;font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--on-ink-quiet,#8A8D9C);margin-bottom:7px}
.awshell-foot .fbrand{justify-self:end;text-align:center}
.awshell-foot .flogo{height:clamp(42px,3.6vw,66px);width:auto;display:block;
  margin:0 auto 12px}
.awshell-foot .fmail-b{display:block;font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);
  font-weight:500;font-size:13px;letter-spacing:.02em;color:var(--citron,#DFFE8D);
  text-decoration:none}
.awshell-foot .fmail-b:hover{text-decoration:underline}
.awshell-foot .fbar{display:flex;justify-content:space-between;align-items:center;
  gap:32px;flex-wrap:wrap;margin-top:clamp(30px,3.4vw,58px);padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14)}
.awshell-foot .fbizz{font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);font-weight:600;
  font-size:12.5px;letter-spacing:.04em;color:var(--on-ink-quiet,#8A8D9C);max-width:none}
.awshell-foot .ficons{display:flex;gap:20px}
.awshell-foot .ic{display:block;color:#BBBDC8}
.awshell-foot .ic svg{width:19px;height:19px;display:block;fill:currentColor}
.awshell-foot .ic:hover{color:var(--citron,#DFFE8D)}
@media(max-width:1200px){
  .awshell-foot .fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .awshell-foot .fbrand{grid-column:1/-1;justify-self:center;margin-top:8px}
}
@media(max-width:560px){.awshell-foot .flist-legal{display:none}}

/* ---- NEWSLETTER SIGN-UP ---------------------------------------------- */
/* newsletter-signup.js builds the same form everywhere and every page styles
   it in its own inline CSS. A page that brings its own design has no rule for
   it, so it renders as a bare input and a bare button. This is the form on
   such a page.

   Scoped like everything else in this file, which the header promises and this
   block used to break. The hook is on the mount itself: build-workshops.py
   writes <div class="awshell newsletter-signup-mount">, so the form the script
   builds inside it is in scope on /workshops/ and /workshops/fresh-draft/
   alike. Unscoping these again silently restyles any page that happens to
   carry a .newsletter-signup, which is 68 of them. */
.awshell .newsletter-signup{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;
  max-width:480px}
.awshell .newsletter-signup input[type="email"]{flex:1 1 220px;min-height:44px;
  font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);font-size:16px;
  color:var(--ink,#10121E);background:#fff;padding:10px 14px;
  border:1px solid var(--ink,#10121E);border-radius:0}
.awshell .newsletter-signup input[type="email"]:focus-visible{outline:2px solid var(--purps,#5262ED);
  outline-offset:1px}
.awshell .newsletter-signup button{min-height:44px;font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);
  font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink,#10121E);background:var(--citron,#DFFE8D);
  border:1px solid var(--ink,#10121E);border-radius:0;padding:10px 20px;cursor:pointer}
.awshell .newsletter-signup button:hover{background:#fff}
.awshell .newsletter-signup-hp{position:absolute;left:-9999px;width:1px;height:1px}
.awshell .newsletter-signup-msg{font-family:var(--font-ui,'Space Grotesk',system-ui,sans-serif);font-size:14px;
  margin-top:10px;color:var(--slate,#434053)}
.awshell .newsletter-signup-msg.is-err{color:var(--error,#B3261E)}
