/* Art Is Essential 2 — first-load "Can you stop and create?" landing overlay.
   Lettering and colors are modeled on David's Austin octagon gallery sign
   (reference only; the photo is not used on the page). Pop-art Ben-Day dots,
   thick black outlines and bright colors match the Core Crew popup. */
@import url("https://fonts.googleapis.com/css2?family=Bangers&family=Permanent+Marker&display=swap");

.lo-root{
  position:fixed;inset:0;z-index:5000;
  display:none;align-items:center;justify-content:center;
  padding:12px;box-sizing:border-box;
  font-family:Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.lo-root.is-open{display:flex}
.lo-root *,.lo-root *::before,.lo-root *::after{box-sizing:border-box}

.lo-backdrop{
  position:absolute;inset:0;
  background:
    radial-gradient(circle,#111 1.15px,transparent 1.25px) 0 0/10px 10px,
    rgba(8,0,20,.84);
  cursor:pointer;
}

.lo-panel{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;
  width:min(560px,100%);
  max-height:100%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:12px 8px 8px;
}

.lo-stage{
  position:relative;
  width:min(420px,86vw);
}
.lo-close{
  position:absolute;
  top:-6px;right:-6px;
  width:44px;height:44px;
  border:4px solid #111;
  border-radius:50%;
  background:#FF3B9A;
  color:#111;
  font:700 28px/1 Arial,sans-serif;
  cursor:pointer;
  box-shadow:3px 3px 0 #111;
  display:flex;align-items:center;justify-content:center;
  padding:0;
  z-index:3;
}
.lo-close:hover,.lo-close:focus-visible{
  background:#00E5FF;
  outline:3px solid #111;
  outline-offset:2px;
}

.lo-sign-wrap{
  position:relative;
  width:100%;
  filter:
    drop-shadow(0 0 0 #111) drop-shadow(2px 0 0 #111) drop-shadow(-2px 0 0 #111) drop-shadow(0 2px 0 #111) drop-shadow(0 -2px 0 #111)
    drop-shadow(6px 6px 0 #111);
}

.lo-sign-rim{
  position:absolute;inset:-14px;
  background:#fff;
  clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%);
  z-index:0;
}

.lo-sign{
  position:relative;z-index:1;
  width:100%;
  aspect-ratio:1;
  clip-path:polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:10% 8% 8%;
  color:#f7f1e6;
  text-align:center;
  /* Painted wood: rust-red table surface, grain, faint Ben-Day dots. */
  background-color:#c44e28;
  background-image:
    radial-gradient(circle,rgba(17,17,17,.2) .7px,transparent .8px),
    repeating-linear-gradient(86deg,rgba(90,20,8,.2) 0 1px,transparent 1px 8px),
    repeating-linear-gradient(8deg,rgba(255,190,130,.1) 0 2px,transparent 2px 10px),
    radial-gradient(ellipse at 28% 18%,rgba(232,130,70,.5),transparent 56%),
    radial-gradient(ellipse at 78% 80%,rgba(80,16,6,.45),transparent 52%),
    linear-gradient(148deg,#e07842 0%,#c44e28 38%,#a83616 72%,#7a2410 100%);
  background-size:8px 8px,auto,auto,auto,auto,auto;
}

.lo-sign-inner{
  position:relative;
  z-index:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:100%;
  line-height:.9;
}

.lo-phrase{
  margin:0;
  font-family:"Permanent Marker","Rock Salt",cursive;
  font-weight:400;
  color:#f7f1e6;
  letter-spacing:.02em;
  text-shadow:
    2px 2px 0 #3e9cc8,
    -2px 1px 0 #6ec4e6,
    1px -1px 0 #4aa8d0,
    3px 3px 0 rgba(17,17,17,.55);
}

.lo-canyou{
  font-size:clamp(1.75rem,7.6vw,2.65rem);
  transform:rotate(-6deg);
  margin-bottom:.12em;
}
.lo-stop{
  font-size:clamp(3.75rem,18.5vw,6.3rem);
  line-height:.85;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.lo-and{
  font-size:clamp(1.85rem,8vw,2.85rem);
  transform:rotate(3deg);
  margin:.06em 0 .08em;
}
.lo-create{
  font-size:clamp(2.85rem,14vw,4.7rem);
  line-height:.85;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.lo-bulb{
  position:absolute;
  right:6%;
  top:42%;
  width:14%;
  height:22%;
  pointer-events:none;
}

.lo-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  width:100%;
  margin-top:16px;
  padding:0 4px 6px;
}

.lo-choice{
  flex:1 1 140px;
  min-height:56px;
  min-width:140px;
  max-width:240px;
  border:4px solid #111;
  border-radius:12px;
  color:#111;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1.55rem;
  letter-spacing:.04em;
  line-height:1;
  cursor:pointer;
  box-shadow:5px 5px 0 #111;
  padding:10px 16px;
}
.lo-choice-online{background:#00E5FF}
.lo-choice-real{background:#FF3B9A}
.lo-choice:hover,.lo-choice:focus-visible{
  outline:3px solid #111;
  outline-offset:2px;
}
.lo-choice-online:hover{background:#7effff}
.lo-choice-real:hover{background:#ff7ac0}
.lo-choice:active{transform:translate(2px,2px);box-shadow:3px 3px 0 #111}

.lo-root.is-open .lo-panel{
  animation:lo-pop .42s cubic-bezier(.2,1.4,.4,1) both;
}
@media (prefers-reduced-motion:reduce){
  .lo-root.is-open .lo-panel{animation:none}
  .lo-choice:active{transform:none}
}
@keyframes lo-pop{
  0%{transform:scale(.82);opacity:0}
  70%{transform:scale(1.03);opacity:1}
  100%{transform:scale(1);opacity:1}
}

/* Persistent heading above the existing home tagline. Always in the page. */
.lo-persist{
  margin:0 0 14px;
  text-align:center;
  font-family:"Permanent Marker","Rock Salt",cursive;
  font-weight:400;
  font-size:clamp(1.55rem,5.6vw,2.6rem);
  line-height:1.15;
  letter-spacing:.03em;
  color:#f7f1e6;
  text-shadow:
    2px 2px 0 #3e9cc8,
    -2px 1px 0 #6ec4e6,
    1px -1px 0 #4aa8d0,
    3px 3px 0 rgba(17,17,17,.7);
}

/* Preview-only slim nav. Applied only when ?navpreview=1 adds body.lo-nav-preview.
   Off by default; the real top nav is not changed. */
body.lo-nav-preview .topbar{display:none}
body.lo-nav-preview{
  --lo-slim-h:52px;
}
html:has(body.lo-nav-preview){scroll-padding-top:calc(var(--lo-slim-h,52px) + 12px)}

.lo-slim{
  display:none;
  position:sticky;top:0;z-index:60;
  height:var(--lo-slim-h,52px);
  background:rgba(10,5,18,.92);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:4px solid #111;
  box-shadow:0 4px 0 #FF3B9A;
}
body.lo-nav-preview .lo-slim{display:block}
.lo-slim-in{
  height:100%;
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
  display:flex;align-items:center;justify-content:center;
  gap:8px 28px;
}
.lo-slim a{
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1.25rem;
  letter-spacing:.06em;
  color:#fff;
  text-decoration:none;
  padding:8px 6px;
  display:inline-flex;align-items:baseline;gap:8px;
}
.lo-slim a:hover,.lo-slim a:focus-visible{color:#00E5FF;outline:none}
.lo-slim a:focus-visible{outline:3px solid #00E5FF;outline-offset:2px}
.lo-soon{
  font-family:Arial,Helvetica,sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#111;
  background:#FFE135;
  border:2px solid #111;
  border-radius:6px;
  padding:1px 5px;
  line-height:1.3;
}

#remix.lo-remix-preview{
  padding:36px 16px;
  text-align:center;
}
#remix.lo-remix-preview p{
  margin:0 auto;
  max-width:36em;
}

@media (max-width:400px){
  .lo-root{padding:6px}
  .lo-panel{padding:8px 2px 4px}
  .lo-stage{width:min(340px,92vw)}
  .lo-sign-wrap{width:80%;margin:0 auto}
  .lo-stop{font-size:3.3rem}
  .lo-create{font-size:2.45rem}
  .lo-canyou{font-size:1.5rem}
  .lo-and{font-size:1.55rem}
  .lo-sign{padding:20% 14% 15%}
  .lo-actions{gap:10px;margin-top:12px}
  .lo-choice{font-size:1.35rem;min-height:52px;padding:8px 12px}
  .lo-persist{margin-bottom:10px}
}
@media (max-height:700px){
  .lo-stage{width:min(340px,70vh,86vw)}
  .lo-actions{margin-top:10px}
}
@media (max-height:560px){
  .lo-stage{width:min(260px,58vh,78vw)}
  .lo-close{top:-2px;right:-2px}
}

/* Comic action lines bursting out around the octagon (David, Nov 22). */
.lo-sign-wrap::before{
  content:"";
  position:absolute;
  inset:-22%;
  z-index:-1;
  pointer-events:none;
  background:repeating-conic-gradient(from 3deg,#2f9fe0 0deg 4.5deg,transparent 4.5deg 18deg);
  -webkit-mask:radial-gradient(circle,transparent 0 50%,#000 50% 58%,transparent 58% 61%,#000 61% 69%,transparent 69%);
  mask:radial-gradient(circle,transparent 0 50%,#000 50% 58%,transparent 58% 61%,#000 61% 69%,transparent 69%);
  animation:lo-rays-pulse 1.6s ease-in-out infinite alternate;
}
@keyframes lo-rays-pulse{from{transform:scale(.97);opacity:.85}to{transform:scale(1.04);opacity:1}}
@media (prefers-reduced-motion:reduce){.lo-sign-wrap::before{animation:none}}
.lo-choice{position:relative;z-index:3}

/* Second-step Online / Real World menu panels */
.lo-menu{
  display:none;
  position:relative;
  z-index:2;
  width:min(520px,100%);
  max-height:100%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background-color:#FFE135;
  background-image:radial-gradient(#E10600 1.05px,transparent 1.15px);
  background-size:9px 9px;
  border:5px solid #111;
  border-radius:22px;
  box-shadow:8px 8px 0 #111;
  padding:48px 16px 18px;
  color:#111;
}
.lo-root.is-menu .lo-stage,
.lo-root.is-menu .lo-actions{display:none}
.lo-root.is-menu .lo-menu.is-on{display:block}
.lo-root.is-menu .lo-panel{
  width:min(560px,100%);
  animation:none;
}
.lo-root.is-menu .lo-close{
  top:6px;right:6px;
  z-index:4;
}

.lo-back{
  position:absolute;
  top:10px;left:12px;
  background:none;
  border:0;
  padding:8px 4px;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1.15rem;
  letter-spacing:.04em;
  color:#111;
  cursor:pointer;
  min-height:44px;
}
.lo-back:hover,.lo-back:focus-visible{
  color:#005e6e;
  outline:3px solid #111;
  outline-offset:2px;
}

.lo-menu-title{
  margin:0 36px 12px 8px;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-weight:400;
  font-size:clamp(1.55rem,6.4vw,2.15rem);
  line-height:1.05;
  letter-spacing:.04em;
  text-align:center;
  text-shadow:3px 3px 0 #111, 2px 0 0 #00E5FF;
}

.lo-focus{
  margin:0 0 12px;
  padding:10px 12px;
  background:#00E5FF;
  border:4px solid #111;
  border-radius:12px;
  box-shadow:4px 4px 0 #111;
  text-align:center;
}
.lo-focus h3{
  margin:0 0 4px;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:clamp(1.05rem,4.6vw,1.35rem);
  letter-spacing:.03em;
  line-height:1.15;
  font-weight:400;
}
.lo-focus p{
  margin:0;
  font:700 13px/1.35 Arial,Helvetica,sans-serif;
}

.lo-tools,.lo-projects{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.lo-tool,.lo-proj{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:6px 12px 6px 6px;
  border:4px solid #111;
  border-radius:12px;
  box-shadow:4px 4px 0 #111;
  text-decoration:none;
  color:#111;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1.2rem;
  letter-spacing:.03em;
  line-height:1.1;
  background:#fff;
}
a.lo-tool,a.lo-proj,button.lo-proj{cursor:pointer}
.lo-proj-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.lo-proj-sub{
  display:block;
  margin:0 4px 2px 8px;
  padding:0 2px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.35;
  color:#111;
  text-decoration:underline;
  text-underline-offset:2px;
  background:none;
  border:0;
  box-shadow:none;
  border-radius:0;
}
.lo-proj-sub:hover,.lo-proj-sub:focus-visible{
  outline:2px solid #111;
  outline-offset:2px;
  background:none;
}

button.lo-proj{
  width:100%;
  text-align:left;
  appearance:none;
  -webkit-appearance:none;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1.2rem;
  letter-spacing:.03em;
  line-height:1.1;
  color:#111;
  background:#fff;
}
.lo-tool:hover,.lo-tool:focus-visible,
.lo-proj:hover,.lo-proj:focus-visible{
  outline:3px solid #111;
  outline-offset:2px;
  background:#7effff;
}
.lo-tool:nth-child(2){background:#00E5FF}
.lo-tool:nth-child(3){background:#FF3B9A;color:#111}
.lo-tool:nth-child(4){background:#fff}
.lo-tool:nth-child(5){background:#00E5FF}
.lo-tool:nth-child(6){background:#FFE135}
.lo-tool:nth-child(7){background:#FF3B9A;color:#111}
.lo-tool:first-child{background:#FFE135}
.lo-tool img{
  width:56px;height:42px;
  object-fit:cover;
  border:3px solid #111;
  border-radius:8px;
  flex-shrink:0;
  background:#111;
}
.lo-proj-plain{
  cursor:default;
  background:#fff;
}
.lo-proj-plain:hover,.lo-proj-plain:focus-visible{
  background:#fff;
  outline:none;
}
.lo-soon-inline{
  font-family:Arial,Helvetica,sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#111;
  background:#FFE135;
  border:2px solid #111;
  border-radius:6px;
  padding:1px 5px;
  line-height:1.3;
  margin-left:8px;
  vertical-align:middle;
}

.lo-social-label{
  margin:14px 0 8px;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1.15rem;
  letter-spacing:.04em;
  text-align:center;
}
.lo-socials{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.lo-soc{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:44px;
  padding:6px 10px;
  border:3px solid #111;
  border-radius:10px;
  box-shadow:3px 3px 0 #111;
  text-decoration:none;
  color:#111;
  font-family:"Bangers",Impact,"Arial Black",sans-serif;
  font-size:1rem;
  letter-spacing:.03em;
  background:#fff;
}
.lo-soc:nth-child(odd){background:#00E5FF}
.lo-soc:nth-child(even){background:#FF3B9A}
.lo-soc:hover,.lo-soc:focus-visible{
  background:#FFE135;
  outline:3px solid #111;
  outline-offset:2px;
}
.lo-soc svg{display:block;flex-shrink:0}

@media (max-width:400px){
  .lo-menu{padding:44px 10px 12px;border-width:4px;box-shadow:6px 6px 0 #111}
  .lo-menu-title{font-size:1.45rem;margin-bottom:8px}
  .lo-focus{padding:8px 8px;margin-bottom:8px;border-width:3px;box-shadow:3px 3px 0 #111}
  .lo-focus h3{font-size:1.02rem}
  .lo-focus p{font-size:12px;line-height:1.3}
  .lo-tools,.lo-projects{gap:6px}
  .lo-tool,.lo-proj{min-height:48px;font-size:1.05rem;padding:4px 8px 4px 4px;border-width:3px;box-shadow:3px 3px 0 #111}
  .lo-proj-sub{font-size:10px;margin:0 2px 0 4px}
  .lo-tool img{width:48px;height:36px;border-width:2px}
  .lo-soc{min-height:40px;padding:5px 8px;font-size:.92rem}
  .lo-social-label{margin:10px 0 6px}
}


/* Small free tag on Create Online / IRL tool rows */
.lo-tool .free-word,
.lo-proj .free-word,
.lo-menu-title .free-word{
  flex-shrink:0;
  font-family:"Inter",system-ui,sans-serif;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:none;
  text-shadow:none;
  box-shadow:none;
}
.lo-tool .free-word,
.lo-proj .free-word{margin-left:auto}
.lo-menu-title .free-word{margin-left:10px;padding:2px 10px;font-size:.45em;vertical-align:middle}

/* Coming Soon: deactivated Hallelujah Remix tools */
.lo-tool.is-coming-soon,
.lo-proj.is-coming-soon,
.lo-slim a.is-coming-soon{
  pointer-events:none;
  cursor:default;
  opacity:.72;
}
.lo-tool.is-coming-soon:hover,
.lo-tool.is-coming-soon:focus-visible,
.lo-proj.is-coming-soon:hover,
.lo-proj.is-coming-soon:focus-visible{
  filter:none;
  transform:none;
}
.lo-tool img.img-mona-doodle{object-position:center top}

/* Explicit lo-tool colors so wrapping a tile for Art Supplies doesn't shift nth-child colors */
.lo-tool.lo-c-yellow{background:#FFE135}
.lo-tool.lo-c-cyan{background:#00E5FF}
.lo-tool.lo-c-pink{background:#FF3B9A;color:#111}
.lo-tool.lo-c-white{background:#fff}
.lo-tool-stack{display:flex;flex-direction:column;gap:6px;min-width:0}
.lo-tool-stack .lo-supplies-btn{
  align-self:stretch;width:100%;min-width:0;height:40px;box-sizing:border-box;
  pointer-events:auto;
}
.lo-tool-stack > .lo-supplies-btn:not(.is-coming-soon),
.lo-tool-stack .lo-btn-row > .lo-supplies-btn:not(.is-coming-soon){
  opacity:1;cursor:pointer;
}
.lo-tool-stack .lo-btn-row{
  display:flex;flex-wrap:wrap;gap:6px;align-self:stretch;
}
.lo-tool-stack .lo-btn-row .lo-supplies-btn{
  flex:1 1 140px;width:auto;
}

/* Make art online menu picture */
.lo-pic{margin:0 auto 12px;max-width:240px;border:4px solid #111;border-radius:12px;overflow:hidden;box-shadow:4px 4px 0 #111;background:#fff}
.lo-pic img{display:block;width:100%;height:auto}
@media (max-width:600px){.lo-pic{max-width:180px;margin-bottom:8px;border-width:3px;box-shadow:3px 3px 0 #111}}
