/* Sculpt It site: shared tokens, header and footer (front page and gallery) */

:root {
  --curtain: #A0182B;
  --curtain-hi: #C42A3B;
  --curtain-lo: #5E0B17;
  --night: #2A0710;
  --gold: #F4B63E;
  --gold-lo: #B9822A;
  --gold-ink: #3B1F08;
  --cream: #FFF1E3;
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 68px;
}
@media (max-width: 820px) { :root { --head-h: 108px; } }

.site-top { position: sticky; top: 0; z-index: 40; background: var(--night); color: var(--cream); }
.site-top-in {
  max-width: 1240px; margin: 0 auto; padding: 0 24px; height: var(--head-h);
  display: flex; align-items: center; gap: 24px;
}
.site-brand { flex: none; display: block; line-height: 0; }
.site-brand img { height: 32px; width: auto; }
.site-top .tabs { display: flex; gap: 4px; margin-right: auto; }
.site-top .tabs a {
  text-decoration: none; font: 500 16px/1 var(--font-head); padding: 10px 13px; border-radius: 12px;
  color: rgba(255, 241, 227, .8); white-space: nowrap;
}
.site-top .tabs a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-top .tabs a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.site-top .who { display: flex; align-items: center; }
.site-top .who a, .site-top .who button {
  font: 500 16px/1 var(--font-head); color: rgba(255, 241, 227, .85); text-decoration: none;
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
}
.site-top .who a:hover, .site-top .who button:hover { color: #fff; }
.site-top .who .who-chip { display: inline-flex; align-items: center; gap: 8px; }
.site-top .who .who-chip .av {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--gold-ink); font: 700 14px/1 var(--font-head);
}
.site-cta {
  flex: none; display: inline-flex; align-items: center; text-decoration: none;
  font: 600 15px/1 var(--font-head); padding: 11px 16px 13px; border-radius: 14px;
  background: var(--gold); color: var(--gold-ink);
  box-shadow: inset 0 -4px 0 var(--gold-lo), 0 4px 0 rgba(0, 0, 0, .3);
  transition: transform .1s ease;
}
.site-cta:hover { transform: translateY(-1px); }
.site-cta:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--gold-lo); }
.site-top :focus-visible, .site-foot :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 10px; }

.site-foot { background: var(--night); color: rgba(255, 241, 227, .7); font: 400 15px/1.5 var(--font-body); }
.site-foot-in {
  max-width: 1240px; margin: 0 auto; padding: 28px 24px 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap;
}
.site-foot p { margin: 0; max-width: 60ch; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: rgba(255, 241, 227, .88); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: #3A2219; padding: 8px 14px; border-radius: 10px; z-index: 60; }
.skip:focus { left: 12px; }

@media (max-width: 820px) {
  .site-top-in { flex-wrap: wrap; align-content: center; gap: 8px 12px; padding: 8px 14px; }
  .site-brand img { height: 26px; }
  .site-top .who { margin-left: auto; }
  .site-cta { padding: 9px 13px 11px; font-size: 14px; }
  .site-cta .long { display: none; }
  .site-top .tabs {
    order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none;
    background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 3px; justify-content: space-between;
  }
  .site-top .tabs::-webkit-scrollbar { display: none; }
  .site-top .tabs a { font-size: 14.5px; padding: 8px 10px; }
}
