/* b.NEL site styles, layered on top of site.css (the original Webflow export). */

/* 404 page */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #000;
}
.page-404 .navigation {
  background-color: #fff;
}
.not-found {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 16px 80px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Inter, Arial, sans-serif;
  overflow: hidden;
}
.not-found-code {
  font-size: clamp(9rem, 36vw, 30rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #232326 0%, #121214 60%, #000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.not-found-text {
  position: relative;
  margin: -0.55em 0 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(1.75rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.not-found-link {
  margin-top: 32px;
  color: #8a8a8f;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .3s;
}
.not-found-link:hover {
  color: #fff;
}

/* Contact page map (keyless Google Maps embed) */
.map-embed {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* Footer links: stay legible on the dark footer when hovered */
.footer-01 .footer-link,
.footer-01 .secondary-link {
  transition: color .2s;
}
.footer-01 .footer-link:hover,
.footer-01 .secondary-link:hover,
.footer-01 .footer-link:focus-visible,
.footer-01 .secondary-link:focus-visible {
  opacity: 1;
  color: #e9e5dc;
}
.footer-01 .social-link:hover {
  opacity: .85;
}

/* Phones */
@media screen and (max-width: 767px) {
  /* 16px+ stops iOS Safari from zooming in when a field is tapped. */
  input.w-input,
  select.w-select {
    font-size: 16px;
  }
  /* Comfortable tap targets (~44px) for text links. */
  .contact-email-link,
  .project-name-link,
  .not-found-link {
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* Desktop: nav and footer share one content width (80%, max 1080px). */
@media screen and (min-width: 992px) {
  .navigation {
    padding-left: 0;
    padding-right: 0;
  }
  .navigation-wrap {
    flex: 0 1 auto; /* Webflow's flex: 1 would override the width */
    width: 80%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-01 {
    padding-left: 0;
    padding-right: 0;
  }
  .footer-01 .container-2 {
    width: 80%;
    max-width: 1080px;
  }
}

/* Terms & Privacy pages */
.legal-content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 100px;
  color: #1a1b1f;
}
.legal-content h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 400;
}
.legal-updated {
  margin-bottom: 40px;
  color: #6b6d73;
  font-size: 14px;
}
.legal-content h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
}
.legal-content p,
.legal-content li {
  color: #4a4c52;
  font-size: 16px;
  line-height: 1.7;
}
.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-content li {
  margin-bottom: 6px;
}
.legal-content a {
  display: inline;
  color: #1a1b1f;
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .legal-content h1 {
    font-size: 32px;
  }
}

/* Contact page map placeholder (Google Maps loads on click) */
.map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  padding: 24px;
  background: #f4f4f2 linear-gradient(135deg, #f4f4f2 0%, #e9e9e6 100%);
  text-align: center;
}
.map-consent-inner {
  max-width: 440px;
}
.map-consent-title {
  margin-bottom: 10px;
  color: #1a1b1f;
  font-size: 20px;
  font-weight: 500;
}
.map-consent-text {
  margin-bottom: 24px;
  color: #4a4c52;
  font-size: 14px;
  line-height: 1.6;
}
.map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}
.map-consent-button {
  padding: 12px 28px;
  border: 0;
  background-color: #1a1b1f;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s;
}
.map-consent-button:hover {
  background-color: #32343a;
}
.map-consent-link {
  color: #1a1b1f;
  font-size: 14px;
  text-decoration: underline;
}

/* Home hero: dark tint over the photo so the headline reads at any size */
.cc-store-home-wrap .intro-header {
  position: relative;
}
.cc-store-home-wrap .intro-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.35) 0%, rgba(14, 18, 24, 0.55) 100%);
}
.cc-store-home-wrap .intro-content {
  position: relative;
  z-index: 1;
}
.hero-title {
  margin: 0;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* Current-page highlight */
.navigation-item[data-current] {
  opacity: 1;
  color: #1a1b1f;
  font-weight: 600;
}

/* Project page heroes: same tint and headline treatment as the home hero */
.project-overview-header {
  position: relative;
}
.project-overview-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.35) 0%, rgba(14, 18, 24, 0.55) 100%);
}
.project-overview-header .intro-content {
  position: relative;
  z-index: 1;
}
.project-overview-header .heading-jumbo {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------------------
   Motion
   Curve from Emil Kowalski's animation skills: strong ease-out for UI entrances.
--------------------------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Homepage load: hero fades in, then the headline and mission line rise in
   with a short stagger. CSS animations so they stay smooth while the page loads. */
@keyframes bnel-fade-in {
  from { opacity: 0; }
}
@keyframes bnel-rise-in {
  from { opacity: 0; transform: translateY(12px); }
}
.cc-store-home-wrap .intro-header {
  animation: bnel-fade-in 600ms var(--ease-out) both;
}
.hero-title {
  animation: bnel-rise-in 700ms var(--ease-out) 120ms both;
}
.cc-store-home-wrap .motto-wrap {
  animation: bnel-rise-in 700ms var(--ease-out) 200ms both;
}

/* Project pages: hero fades in, the title rises, then the details and
   description follow with a short stagger. */
.project-overview-header {
  animation: bnel-fade-in 600ms var(--ease-out) both;
}
.project-overview-header .heading-jumbo {
  animation: bnel-rise-in 700ms var(--ease-out) 120ms both;
}
.project-details-grid > * {
  animation: bnel-rise-in 700ms var(--ease-out) 220ms both;
}
.project-details-grid > :nth-child(2) {
  animation-delay: 280ms;
}

/* Projects list: each card fades up once as it scrolls into view.
   data-reveal is only added by custom.js, so cards stay visible without JS. */
[data-reveal] {
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
[data-reveal="hidden"] {
  opacity: 0;
  transform: translateY(16px);
}

/* Reduced motion: keep gentle fades, drop movement. */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .cc-store-home-wrap .motto-wrap,
  .project-overview-header .heading-jumbo,
  .project-details-grid > * {
    animation: bnel-fade-in 200ms ease both;
  }
  .cc-store-home-wrap .intro-header,
  .project-overview-header {
    animation-duration: 200ms;
  }
  [data-reveal] {
    transition: opacity 200ms ease;
  }
  [data-reveal="hidden"] {
    transform: none;
  }
}

/* Contact card: email / phone buttons in place of the old form */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.contact-action.button {
  padding-left: 40px;
  padding-right: 40px;
}
.contact-action-secondary {
  padding-top: 12px;
  padding-bottom: 12px;
  color: #1a1b1f;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media screen and (max-width: 767px) {
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   Footer layout: contact (left) + page links (right), then one bottom bar with
   legal links and copyright on the left and Facebook aligned on the right.
--------------------------------------------------------------------------- */
.footer-01 {
  overflow-x: clip; /* the Facebook tap area overhangs the content edge */
}
.footer-top {
  margin-bottom: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  margin-bottom: 0;
}
.footer-grid-01 {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  gap: 32px 64px;
}
.footer-column:empty {
  display: none;
}
.footer-column {
  padding-right: 0;
}
.footer-column .footer-link {
  margin-right: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}
.footer-title-button {
  margin: 0 0 12px;
}
.footer-bottom {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid #ffffff1a;
  border-bottom: 0;
  text-align: left;
}
.footer-bottom .footer-wrapper {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}
.footer-bottom .secondary-link,
.footer-bottom .footer-link {
  margin-right: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
}
.footer-copyright {
  color: #ffffff80;
  font-size: 14px;
}
.footer-01 .social-link {
  flex: none;
  width: 40px;
  max-width: none; /* Webflow's .w-inline-block caps it to the wrapper */
  height: 40px;
  padding: 0;
  margin-right: -15px; /* the 10px-wide glyph's edge lines up with the content edge */
  transition: opacity .2s;
}
.footer-01 .social-link img {
  width: auto;
  height: 20px;
  max-width: none;
}

@media screen and (max-width: 767px) {
  .footer-01 {
    padding-top: 72px;
    padding-bottom: 48px;
  }
  .footer-grid-01 {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    margin-top: 48px;
    align-items: flex-start;
  }
  .footer-bottom .footer-wrapper:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-copyright {
    margin-top: 8px;
  }
}

/* Visually hidden, still read by screen readers and search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------------
   Navigation (tablet/phone): dropdown toggled by custom.js via .is-open.
   Panel drops from under the header; options fade down with a 40ms stagger.
--------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .menu {
    margin: 0;
    position: static;
  }
  .menu-button {
    display: block;
    margin-right: -11px; /* 44px tap area without shifting the icon */
    padding: 11px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-icon {
    display: block;
  }
  .w-nav[data-collapse="medium"] .w-nav-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 0 16px;
    background-color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms var(--ease-out),
      transform 180ms var(--ease-out),
      visibility 0s linear 180ms;
  }
  .w-nav.is-open .w-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 240ms var(--ease-out),
      transform 240ms var(--ease-out),
      visibility 0s;
  }
  .w-nav-menu .navigation-item {
    display: block;
    padding: 18px 30px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 2px;
    text-align: center;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 240ms var(--ease-out),
      transform 240ms var(--ease-out),
      background-color 200ms ease;
  }
  .w-nav.is-open .navigation-item {
    opacity: .8;
    transform: none;
  }
  .w-nav.is-open .navigation-item[data-current] {
    opacity: 1;
  }
  .w-nav.is-open .navigation-item:nth-child(2) { transition-delay: 40ms, 40ms, 0ms; }
  .w-nav.is-open .navigation-item:nth-child(3) { transition-delay: 80ms, 80ms, 0ms; }
}
@media screen and (max-width: 991px) and (prefers-reduced-motion: reduce) {
  .w-nav[data-collapse="medium"] .w-nav-menu,
  .w-nav-menu .navigation-item {
    transform: none;
  }
}
