:root {
  --nenc-navy: #073b69;
  --nenc-navy-dark: #042b50;
  --nenc-blue: #0d8ed9;
  --nenc-aqua: #65d8e8;
  --nenc-green: #2d9845;
  --nenc-orange: #f36f13;
  --nenc-purple: #6b35a8;
  --nenc-red: #e41927;
  --nenc-light: #f5fbff;
  --nenc-text: #10233b;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nenc-light);
  color: var(--nenc-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  background: linear-gradient(135deg, var(--nenc-navy-dark), var(--nenc-navy));
}

.navbar-brand,
.footer-brand {
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
}

.navbar-brand {
  font-size: 1.55rem;
}

.footer-brand {
  font-size: 1.7rem;
}

.navbar-brand .direct,
.footer-brand .direct {
  color: var(--nenc-aqua);
  font-weight: 500;
  font-style: italic;
}

.brand-tagline {
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  margin-top: -.2rem;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

/* =========================================================
   OFFCANVAS / HAMBURGER MENU
   ========================================================= */

.offcanvas {
  --bs-offcanvas-bg: var(--nenc-navy-dark);
  --bs-offcanvas-color: #fff;
}

.offcanvas .nav-link {
  color: rgba(255,255,255,.92);
  padding: .82rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus {
  color: var(--nenc-aqua);
}

/* =========================================================
   HERO - MOBILE FIRST
   ========================================================= */

.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background-image:
    linear-gradient(
      to bottom,
      rgba(2, 31, 58, .08) 10%,
      rgba(2, 31, 58, .22) 48%,
      rgba(2, 31, 58, .80) 100%
    ),
    url("/assets/img/hero-mobile-tablet-1600.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -38px;
  height: 72px;
  background: var(--nenc-light);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.5rem 1rem 3.75rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: .76rem;
}

.hero h1 {
  margin: .35rem 0 0;
  font-weight: 850;
  font-size: clamp(2.35rem, 10vw, 4.8rem);
  line-height: .96;
}

.hero h2 {
  margin: .55rem 0 0;
  color: #a4edf5;
  font-size: clamp(1.7rem, 7vw, 3.1rem);
  font-weight: 800;
}

.hero p {
  max-width: 700px;
  margin: .95rem auto 0;
  font-size: clamp(1rem, 4vw, 1.22rem);
  line-height: 1.45;
  font-weight: 550;
}

/* =========================================================
   MAIN ACTION CARDS
   ========================================================= */

.expo-actions {
  position: relative;
  z-index: 3;
  margin-top: -1.25rem;
  padding-bottom: 2.8rem;
}

.expo-link {
  --card-bg: var(--nenc-blue);
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 94px;
  margin-bottom: .9rem;
  padding: 1rem;
  border: 0;
  border-radius: 1.15rem;
  background: var(--card-bg);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,35,69,.16);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.expo-link:hover,
.expo-link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,35,69,.23);
  filter: brightness(1.035);
}

.expo-link:focus-visible {
  outline: 4px solid rgba(13,110,253,.24);
  outline-offset: 2px;
}

.expo-link .icon-wrap {
  flex: 0 0 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding-right: .9rem;
  border-right: 1px solid rgba(255,255,255,.55);
  font-size: 2rem;
}

.expo-link .copy {
  flex: 1 1 auto;
  min-width: 0;
}

.expo-link .title {
  display: block;
  font-size: 1.19rem;
  line-height: 1.08;
  font-weight: 800;
}

.expo-link .subtitle {
  display: none;
  margin-top: .32rem;
  font-size: .94rem;
  line-height: 1.35;
  opacity: .93;
}

.expo-link .arrow {
  flex: 0 0 auto;
  padding-left: .25rem;
  font-size: 1.65rem;
}

.action-about {
  --card-bg: #087fb8;
}

.action-exhibitors {
  --card-bg: var(--nenc-green);
}

.action-coupons {
  --card-bg: var(--nenc-orange);
}

.action-promote {
  --card-bg: var(--nenc-purple);
}

.action-register {
  --card-bg: var(--nenc-red);
}

/* =========================================================
   INTERIOR CONTENT PAGES
   ========================================================= */

.page-hero {
  background: linear-gradient(135deg, var(--nenc-navy-dark), var(--nenc-navy));
  color: #fff;
  padding: 3.25rem 0;
}

.page-hero h1 {
  font-weight: 800;
  margin: 0;
}

.page-content {
  min-height: 42vh;
  padding: 2.5rem 0 4rem;
}

.coming-soon-card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,35,69,.10);
}


/* =========================================================
   ABOUT PAGE - TABLE OF CONTENTS
   ========================================================= */

.about-toc {
  background: #e2ecf4;
  border: 1px solid #c7d7e4;
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 6px 18px rgba(0,35,69,.08);
}

.about-toc-title {
  margin: 0 0 .85rem;
  color: var(--nenc-navy-dark);
  font-size: 1.1rem;
  font-weight: 800;
}

.about-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-toc-list li + li {
  margin-top: .35rem;
}

.about-toc-list a {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  padding: .45rem .55rem;
  border-radius: .6rem;
  color: var(--nenc-navy);
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.about-toc-list a:hover,
.about-toc-list a:focus-visible {
  background: rgba(255,255,255,.72);
  color: var(--nenc-navy-dark);
  transform: translateX(2px);
}

.about-toc-list a:focus-visible {
  outline: 3px solid rgba(13,110,253,.22);
  outline-offset: 2px;
}

.about-toc-list .bi {
  flex: 0 0 auto;
  margin-top: .1rem;
}

/* Keeps linked section headings visible below the sticky header. */
.about-section {
  scroll-margin-top: 90px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--nenc-navy-dark), var(--nenc-navy));
  color: rgba(255,255,255,.88);
  padding: 3.2rem 1rem 2rem;
  font-size: .92rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -32px;
  left: -8%;
  width: 116%;
  height: 60px;
  background: var(--nenc-light);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.footer-nav a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-rule {
  opacity: .3;
  margin: 1.25rem 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) {
  .hero {
    min-height: 400px;
  }

  .hero-content {
    padding-bottom: 4.25rem;
  }

  .expo-actions {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }

  .expo-link {
    min-height: 112px;
    padding: 1.15rem 1.4rem;
  }

  .expo-link .icon-wrap {
    flex-basis: 74px;
    min-height: 68px;
    font-size: 2.25rem;
  }

  .expo-link .title {
    font-size: 1.5rem;
  }

  .expo-link .subtitle {
    display: block;
  }

  .about-toc {
    padding: 1.35rem 1.5rem;
  }

  .about-toc-title {
    font-size: 1.2rem;
  }
}

/* =========================================================
   DESKTOP
   Swap to panoramic hero image
   ========================================================= */

@media (min-width: 992px) {
  .hero {
    min-height: 440px;
    background-image:
      linear-gradient(
        to bottom,
        rgba(2,31,58,.05) 10%,
        rgba(2,31,58,.18) 48%,
        rgba(2,31,58,.76) 100%
      ),
      url("/assets/img/hero-desktop-1800.webp");
    background-position: center center;
  }
}

/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {
  .hero {
    min-height: 480px;
  }

  .expo-actions {
    max-width: 980px;
  }

  .expo-link {
    min-height: 118px;
  }

  .expo-link .title {
    font-size: 1.65rem;
  }
}
