/* Site header: solid black bar. Nothing behind it shows through.
 * Sticky at the top (stays at the top of the page as you scroll), above everything. */

:root {
  --black: #000000;
  --z-header: 100;
  --header-h: 72px;
}

#main .framer-1878n9t {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--black) !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid #1F1F1F !important;
  box-shadow: none !important;
  transition: box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
#main .framer-1878n9t::before { content: none !important; }

/* Soft shadow below only after the page scrolls more than 8px. */
html.lc-scrolled #main .framer-1878n9t {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

/* Nav links: white at 80%, 100% on hover with a small orange underline. */
#main .framer-1878n9t a {
  color: rgba(242, 242, 242, 0.8);
  text-decoration: none;
  transition: color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
#main .framer-1878n9t a:hover,
#main .framer-1878n9t a:focus-visible {
  color: #F2F2F2;
  text-decoration: underline;
  text-decoration-color: #EC5F22;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
#main .framer-1878n9t a:focus-visible { outline: 2px solid #EC5F22; outline-offset: 3px; border-radius: 2px; }

/* Skip to content link: hidden until focused. */
.lc-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--black);
  color: #F2F2F2;
  border: 1px solid #1F1F1F;
  border-radius: 8px;
  font: 500 14px/1.2 "Inter", system-ui, sans-serif;
  text-decoration: none;
}
.lc-skip:focus-visible { top: 12px; outline: 2px solid #EC5F22; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  #main .framer-1878n9t, #main .framer-1878n9t a { transition: none; }
}

/* Logo: icon (transparent mark) and wordmark side by side, sized to the header.
 * Desktop: icon 30px tall, wordmark 23px. Phones: icon 26px, wordmark 20px. */
#main .framer-9gk531 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  background: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  white-space: nowrap;
  flex: none;
}
#main .framer-9gk531::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 33px;
  height: 30px;
  margin-right: 10px;
  background: url("/assets/loomcode-mark.png") no-repeat center / contain;
}
#main .framer-9gk531 * {
  font-size: 23px !important;
  color: #F2F2F2 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
}
/* Shrinks about 8% once the page scrolls, without moving anything else. */
html.lc-scrolled #main .framer-9gk531 {
  transform: scale(0.92);
  transform-origin: left center;
}
#main .framer-9gk531, html.lc-scrolled #main .framer-9gk531 { transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1); }

/* Header height: 72px desktop (scrolled, single row). */
html.lc-scrolled #main .framer-1878n9t {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

@media (max-width: 767.98px) {
  #main .framer-9gk531::before { width: 28px; height: 26px; }
  #main .framer-9gk531 * { font-size: 20px !important; }
  html.lc-scrolled #main .framer-1878n9t { padding-top: 10px !important; padding-bottom: 10px !important; }
}

/* Header layout: logo far left, nav links centred, "Start a project" far right.
 * The header bar spans the viewport; its inner row is capped at 1280px with the page's side padding. */
#main .framer-1878n9t { width: 100%; }
#main .framer-1fwjgun {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px !important;
  gap: 0 !important;
  justify-content: normal !important;
}
#main .framer-1fwjgun > .framer-9gk531 { grid-column: 1; justify-self: start; }
#main .framer-1fwjgun > .framer-aq0awj {
  grid-column: 2;
  justify-self: center;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  gap: 32px !important;
  width: auto !important;
}
#main .framer-1fwjgun .framer-1vsmq3i-container { grid-column: 3; justify-self: end; }
@media (max-width: 1023.98px) {
  #main .framer-1fwjgun > .framer-aq0awj { gap: 20px !important; }
}
@media (max-width: 767.98px) {
  #main .framer-1fwjgun { padding: 0 16px !important; }
}
