/* =============================================
   HooplaConnect — Main Stylesheet
   Fonts: Montserrat (primary), Inter (footer)
   Breakpoints: lg 900+, med 640–899, sm 0–639
   Content max-width: 1280px (wider than Figma 980px)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@500&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --color-bg:           #f4f3fb;
  --color-dark:         #292e3d;
  --color-mid:          #606880;
  --color-light:        #f0f1f5;
  --color-light-alt:    #eff4fe;
  --color-placeholder:  #606880;
  --color-hoopla:       #2050DD;
  --color-yellow:       #f6c225;

  --grad-purple:        linear-gradient(135deg, #6c49ed, #3f42ec);
  --grad-section:       linear-gradient(135deg, rgba(230,174,255,0.24), rgba(69,106,255,0.24));
  --grad-icon:          linear-gradient(135deg, #6c49ed, #3f42ec);
  --grad-blue:          linear-gradient(106.85deg, #1F80F3 0%, #392AE4 100%);
  --grad-blue-section:  linear-gradient(106.95deg, rgba(31, 128, 243, 0.12) 0%, rgba(57, 42, 228, 0.12) 100%);



  --font-primary:       'Montserrat', sans-serif;
  --font-footer:        'Inter', sans-serif;

  --max-content:        1280px;
  --max-content-sm:     980px;
  --section-pad-v:      80px;
  --section-pad-h:      48px;

  /* breakpoints for reference in JS */
  --bp-lg:              900px;
  --bp-sm:              640px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
p + p { margin-top: 1em; }

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.hc-container {
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--section-pad-h);
}

.hc-section {
  padding: var(--section-pad-v) 0;
}

/* =============================================
   WORDPRESS BLOCK EDITOR OVERRIDES
   ============================================= */
.wp-site-blocks,
.entry-content {
  padding: 0;
  margin: 0;
}

.wp-block-post-content {
  margin: 0;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.hc-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  .admin-bar & {
    top: var(--wp-admin--admin-bar--height, 32px);
  }
}

.hc-nav {
  padding: 24px var(--section-pad-h);

  & .hc-nav__inner {
    max-width: var(--max-content);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  & .hc-nav__logo {
    display: flex;
    align-items: center;

    & img {
      height: 40px;
      width: auto;
    }
  }

  & .hc-nav__buttons {
    display: flex;
    gap: 8px;
    align-items: center;
  }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 24px;
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: -0.28px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;

  /* Primary — solid light fill, dark text */
  &.btn--primary {
    background: var(--color-light);
    color: var(--color-dark);
    font-weight: 500;

    &:hover  { background: rgba(240,241,245,0.85); }
    &:active { background: rgba(240,241,245,0.75); }
  }

  /* Secondary — solid light outline */
  &.btn--secondary {
    background: transparent;
    color: var(--color-light);
    font-weight: 400;
    border: 1.5px solid rgba(240,241,245,0.5);

    &:hover  { background: rgba(240,241,245,0.10); }
    &:active { background: rgba(240,241,245,0.20); }
  }

  /* Secondary Color — gradient outline */
  &.btn--secondary-color {
    position: relative;
    background: transparent;
    color: var(--color-light);
    font-weight: 400;
    border: none;

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1.5px;
      background: linear-gradient(90deg, #a7c5ff, #5a81ff 29%, #937dff 70%, #6a3bf4);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    &:hover  { background: linear-gradient(90deg, rgba(168,197,255,0.10), rgba(90,129,255,0.10) 29%, rgba(147,125,255,0.10) 70%, rgba(106,59,244,0.10)); }
    &:active { background: linear-gradient(90deg, rgba(168,197,255,0.20), rgba(90,129,255,0.20) 29%, rgba(147,125,255,0.20) 70%, rgba(106,59,244,0.20)); }
  }

  /* Tertiary — ghost, no fill or border */
  &.btn--tertiary {
    background: transparent;
    color: var(--color-light);
    font-weight: 400;

    &:hover  { background: linear-gradient(90deg, rgba(168,197,255,0.10), rgba(90,129,255,0.10) 29%, rgba(147,125,255,0.10) 70%, rgba(106,59,244,0.10)); }
    &:active { background: linear-gradient(90deg, rgba(168,197,255,0.20), rgba(90,129,255,0.20) 29%, rgba(147,125,255,0.20) 70%, rgba(106,59,244,0.20)); }
  }

  /* Submit — purple gradient fill */
  &.btn--submit {
    background: var(--grad-purple);
    color: var(--color-light);
    font-weight: 500;
    padding: 12px 32px;
    font-size: 14px;

    &:hover  { opacity: 0.88; }
    &:active { opacity: 0.75; }
  }
}

/* =============================================
   MAIN
   ============================================= */
#main {
	min-height: 80vh;
}

/* =============================================
   BLOCK: HERO
   ============================================= */
.hc-hero {
  position: relative;
  min-height: 794px;
  display: flex;
  flex-direction: column;

  & .hc-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 100px;
    z-index: 0;
    overflow: hidden;

    & img,
    & video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }
  }

  & .hc-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.20);
    z-index: 1;
  }

  & .hc-hero__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(10,2,27,0.25) 0%, rgba(10,2,27,0) 100%);
    pointer-events: none;
    z-index: 2;
  }

  & .hc-hero__inner {
    position: relative;
    z-index: 3;
    max-width: calc(var(--max-content) + 2 * var(--section-pad-h));
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--section-pad-h);
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-top: 148px; /* nav height (88px) + 56px content offset */
    flex: 1;
  }

  & .hc-hero__top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 660px;
  }

  & .hc-hero__connect-logo {
    display: block;
    max-width: 494px;

    & img {
      height: 64px;
      width: auto;
    }
  }

  & .hc-hero__subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.28px;
    color: var(--color-light-alt);
    max-width: 560px;
  }

  & .hc-hero__ctas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  & .hc-hero__bottom {
    display: flex;
    gap: 24px;
    align-items: stretch;
    background:
      linear-gradient(135deg, rgba(22,7,54,1), rgba(2,14,41,1)),
      rgba(0,3,14,0.8);
    border-radius: 24px;
    padding: 16px;
  }

  & .hc-hero__bottom-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    padding: 24px;
  }

  & .hc-hero__heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.64px;
    color: var(--color-light);
  }

  & .hc-hero__body {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-light);
  }

  & .hc-hero__bottom-image {
    flex: 0 0 50%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(240,241,245,0.1);

    & img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  /* Schedule variant */
  &.hc-hero--schedule {
    min-height: 344px;

    & .hc-hero__bg {
      bottom: 0;
    }

    & .hc-hero__inner {
      gap: 16px;
      padding-bottom: 56px;
    }
  }
}

.hc-schedule-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.96px;
  color: var(--color-light-alt);
}

.hc-schedule-hero__sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.28px;
  color: var(--color-light-alt);
}

/* =============================================
   BLOCK: INTRO (We Can't Wait)
   ============================================= */
.hc-block-intro {
  background: var(--color-bg);
  padding: var(--section-pad-v) 0;

  & .hc-container {
    display: flex;
    gap: 56px;
    align-items: flex-start;
  }

  & .hc-intro__image {
    flex: 0 0 33.333%;
    border-radius: 12px;
    overflow: hidden;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  & .hc-intro__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
  }

  & .hc-intro__heading {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.72px;
    color: var(--color-dark);
  }

  & .hc-intro__body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-mid);
  }
}

/* =============================================
   BLOCK: EXPERIENCE (Carousel)
   ============================================= */
.hc-block-experience {
  background: var(--grad-section);
  padding: var(--section-pad-v) 0;

  & .hc-container {}

  & .hc-experience__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 48px;
  }

  & .hc-section-heading {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.72px;
    color: var(--color-dark);
  }

  & .hc-section-subheading {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.28px;
    color: var(--color-dark);
    max-width: 640px;
  }
}

/* Carousel */
.hc-carousel {
  display: flex;
  flex-direction: column;
  gap: 24px;

  & .hc-carousel__track-wrap {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-1 * max(var(--section-pad-h), (100vw - var(--max-content)) / 2 + var(--section-pad-h)));
  }

  & .hc-carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    padding-left: max(var(--section-pad-h), calc((100vw - var(--max-content)) / 2 + var(--section-pad-h)));
  }

  & .hc-carousel__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  & .hc-carousel__btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
    color: var(--color-dark);

    /* Gradient border via pseudo-element */
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      padding: 1px;
      background: linear-gradient(90deg, #a7c5ff 0%, #5a81ff 28.8%, #9382ff 70.2%, #6b3bf4 100%);
      -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      mask-composite: exclude;
      pointer-events: none;
    }

    &:hover {
      background: linear-gradient(90deg, rgba(109, 73, 238, 0.1) 0%, rgba(64, 67, 236, 0.1) 100%);
    }

    &:active {
      background: linear-gradient(90deg, rgba(109, 73, 238, 0.2) 0%, rgba(64, 67, 236, 0.2) 100%);
    }

    &:disabled {
      opacity: 0.3;
      cursor: default;
    }

    & svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      position: relative;
    }
  }
}

.hc-slide {
  width: 320px;
  flex-shrink: 0;
  background: rgba(252, 252, 253, 0.8);
  border: 1px solid rgba(41, 46, 61, 0.1);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  & .hc-slide__top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    height: 144px;
    overflow: hidden;
  }

  & .hc-slide__top-bg {
    position: absolute;
    inset: 0;
    background: black;
    pointer-events: none;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.8;
    }
  }

  & .hc-slide__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    position: relative;

    & svg,
    & img {
      width: 48px;
      height: 48px;
    }
  }

  & .hc-slide__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.48px;
    color: var(--color-light);
    position: relative;
  }

  & .hc-slide__bottom {
    padding: 24px;
  }

  & .hc-slide__body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.28px;
    color: var(--color-dark);
  }
}

.hc-experience-cards-heading {
  margin-top: 40px;
}

.hc-experience-cards {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}

.hc-experience-card {
  background: rgba(252, 252, 253, 0.8);
  border: 1px solid rgba(41, 46, 61, 0.1);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
	width: 100%;
  .hc-experience-card__image {
    width: 100%;
    aspect-ratio: 3/2;
    position: relative;
    overflow: hidden;
    img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }
  .hc-experience-card__text {
    padding: 24px;
  }
  .hc-experience-card__name {
    font-weight: bold;
    margin-bottom: 5px;
  }
  .hc-experience-card__title {
    font-size: 12px;
    color: rgba(96, 104, 128, 1);
    margin-bottom: 16px;
  }
  .hc-experience-card__credit {
    font-size: 12px;
    color: rgba(96, 104, 128, 1);
    margin-top: 10px;
  }
  .hc-experience-card__bio {
    font-size: 14px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: -0.28px;
    color: var(--color-dark);
  }
}

.hc-experience-card--coming-soon .hc-experience-card__text {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

/* =============================================
   BLOCK: EVENT DETAILS
   ============================================= */
.hc-block-event-details {
  position: relative;
  background: var(--color-dark);
  padding: var(--section-pad-v) 0;
  overflow: hidden;

  & .hc-details__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-height: 200%;
    object-fit: cover;
    pointer-events: none;
    opacity: 1;
  }

  & .hc-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  & .hc-details__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  & .hc-details__heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.72px;
    color: var(--color-light-alt);
  }

  & .hc-details__subhead {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.28px;
    color: var(--color-light-alt);
    max-width: 600px;
  }

  & .hc-details__days {
    display: flex;
    gap: 16px;
  }

  & .hc-details__secondary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
  }

  & .hc-details__tagline {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: var(--color-light-alt);
  }

  & .hc-details__body {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.28px;
    color: var(--color-light);
  }

  & .hc-details__notice {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 48px;
    background: rgba(240,241,245,0.10);
    border: 1px solid rgba(240,241,245,0.3);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.28px;
    color: var(--color-light);
    align-self: flex-start;
    transition: background 0.2s;

    &:hover {
      background: rgba(240,241,245,0.18);
    }
  }
}

.hc-day {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid #5a80ff;
  padding-left: 24px;

  & .hc-day__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.32px;
    background: linear-gradient(90deg, #5a80ff 1.4%, #9382ff 100.9%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  & .hc-day__date {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.24px;
    background: linear-gradient(90deg, #5a80ff 1.4%, #9382ff 100.9%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  & .hc-day__desc {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.32px;
    color: var(--color-light);
  }
}

/* =============================================
   BLOCK: LOGISTICS
   ============================================= */
.hc-block-logistics {
  background: var(--color-bg);
  padding: var(--section-pad-v) 0;

  & .hc-logistics__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 48px;
  }

  & .hc-logistics__heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.72px;
    color: var(--color-dark);
  }

  & .hc-logistics__subhead {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-dark);
    max-width: 700px;
  }

  & .hc-logistics__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  & .hc-logistics__col-label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.32px;
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
  }

  & .hc-logistics__col-body {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.32px;
    color: var(--color-dark);
  }
}

.hc-map {
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #160e3e, #0c0d31);
  margin-bottom: 48px;

  & iframe,
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
  }
}

/* Icon Grid */
.hc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 40px;
}

.hc-grid__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;

  & .hc-grid__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    & svg,
    & img {
      width: 40px;
      height: 40px;
    }
  }

  & .hc-grid__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }

  & .hc-grid__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.32px;
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  & .hc-grid__value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.28px;
    color: var(--color-dark);
  }

  & .hc-grid__link {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.28px;
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    cursor: pointer;
  }
}

/* =============================================
   BLOCK: RSVP FORM
   ============================================= */
.hc-block-rsvp {
  background: var(--grad-section);
  padding: 120px 0;

  & .hc-rsvp__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  & .hc-rsvp__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
  }

  & .hc-rsvp__heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.84px;
    color: var(--color-dark);
  }

  & .hc-rsvp__body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.28px;
    color: var(--color-dark);
  }

  & .hc-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Gravity Forms overrides */
  & .gform_wrapper {
    & .gfield_label {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: -0.28px;
      color: var(--color-dark);
      margin-bottom: 8px;
    }

    & input[type="text"],
    & input[type="email"],
    & textarea {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 500;
      color: var(--color-dark);
      background: transparent;
      border: 1px solid var(--color-dark);
      border-radius: 999px;
      padding: 16px 20px;
      width: 100%;
      outline: none;
      transition: border-color 0.2s;

      &::placeholder { color: var(--color-placeholder); }
      &:focus {
        border-color: #6c49ed;
      }
    }

    & .gform_footer input[type="submit"],
    & .gform_page_footer input[type="submit"] {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 500;
      background: var(--grad-purple);
      color: var(--color-light);
      border: none;
      border-radius: 999px;
      padding: 12px 32px;
      cursor: pointer;
      transition: opacity 0.2s, transform 0.15s;

      &:hover { opacity: 0.88; transform: translateY(-1px); }
    }
  }

  /* Fluent Forms overrides */
  & .fluentform {
    & fieldset {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 0 24px;

      /* Hidden inputs / legend — keep out of grid flow */
      & > legend,
      & > input[type="hidden"] { display: none; }

      /* Col 1: Name */
      & > .ff-el-group:nth-of-type(1) { grid-column: 1; grid-row: 1; }
      /* Col 1: Title */
      & > .ff-el-group:nth-of-type(2) { grid-column: 1; grid-row: 2; }
      /* Col 2: Email */
      & > .ff-el-group:nth-of-type(3) { grid-column: 2; grid-row: 1; }
      /* Col 2: Library System */
      & > .ff-el-group:nth-of-type(4) { grid-column: 2; grid-row: 2; }
      /* Col 3: Attendance (spans both rows) */
      & > .ff-el-group:nth-of-type(5) { grid-column: 3; grid-row: 1 / 3; }
      /* Submit: full width below */
      & > .ff-el-group.ff_submit_btn_wrapper { grid-column: 1 / -1; grid-row: 3; }
    }

    & .ff-el-form-control {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 500;
      color: var(--color-dark);
      background: transparent;
      border: 1px solid var(--color-dark);
      border-radius: 999px;
      padding: 16px 20px;
      height: auto;
      outline: none;
      transition: border-color 0.2s;
      box-shadow: none;

      &::placeholder { color: var(--color-placeholder); }
      &:focus {
        border-color: #6c49ed;
        box-shadow: none;
      }
    }

    & textarea.ff-el-form-control {
      border-radius: 16px;
    }

    & .ff-el-input--label label {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: -0.28px;
      color: var(--color-dark);
      margin-bottom: 8px;
    }

    & .ff-el-group {
      margin-bottom: 24px;
    }

    & .ff-btn-submit {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 500;
      background: var(--grad-purple);
      color: var(--color-light);
      border: none;
      border-radius: 999px;
      padding: 12px 32px;
      cursor: pointer;
      transition: opacity 0.2s, transform 0.15s;

      &:hover { opacity: 0.88; transform: translateY(-1px); }
    }

    & .ff-el-is-error .ff-el-form-control {
      border-color: #ff6b6b;
    }

    & .ff_list_inline label,
    & .ff_list_buttons label {
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 500;
      color: var(--color-dark);
    }

    & .ff-el-form-check {
      display: flex;
      align-items: center;
      margin-bottom: 16px;
    }

    & .ff-el-form-check-label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-primary);
      font-size: 14px;
      font-weight: 500;
      line-height: 1.4;
      letter-spacing: -0.28px;
      color: var(--color-dark);
      cursor: pointer;
    }

    & input[type="radio"] {
      appearance: none;
      -webkit-appearance: none;
      width: 24px;
      height: 24px;
      border: 1px solid var(--color-dark);
      border-radius: 50%;
      flex-shrink: 0;
      position: relative;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
      margin: 0;

      &:checked {
        background: var(--color-dark);
        border-color: var(--color-dark);

        &::after {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 12px;
          height: 12px;
          background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
        }
      }
    }

    & input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 24px;
      height: 24px;
      border: 1px solid var(--color-dark);
      border-radius: 4px;
      flex-shrink: 0;
      position: relative;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
      margin: 0;

      &:checked {
        background: var(--color-dark);
        border-color: var(--color-dark);

        &::after {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 12px;
          height: 12px;
          background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
        }
      }
    }
  }
}

/* Fallback form styles (non-GF) */
.hc-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.hc-form__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;

  & .hc-field__label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.28px;
    color: var(--color-dark);
  }

  & .hc-field__input {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    background: transparent;
    border: 1px solid var(--color-dark);
    border-radius: 999px;
    padding: 16px 20px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;

    &::placeholder { color: var(--color-placeholder); }
    &:focus {
      border-color: #6c49ed;
    }
  }
}

.hc-radio-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hc-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.28px;
  color: var(--color-dark);

  & input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-dark);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;

    &:checked {
      background: var(--color-dark);
      border-color: var(--color-dark);

      &::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
      }
    }
  }
}

/* =============================================
   BLOCK: SCHEDULE DAY
   ============================================= */
.hc-block-schedule-day {
  padding: 56px 0;

  &.hc-block-schedule-day--plain {
    background: var(--color-bg);
  }

  &.hc-block-schedule-day--gradient {
    background: var(--grad-section);
  }

  & + .hc-block-schedule-day {
    border-top: 1px solid rgba(41,46,61,0.08);
  }
}

.hc-day-headline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(41,46,61,0.12);

  & .hc-day-headline__label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.28px;
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  & .hc-day-headline__title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.68px;
    color: var(--color-dark);
  }
}

.hc-events {
  display: flex;
  flex-direction: column;
}

.hc-event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(41,46,61,0.08);
  align-items: start;

  &:last-child { border-bottom: none; }

  & .hc-event__time {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 3px;
  }

  & .hc-event__time-main {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.0;
    color: var(--color-dark);
  }

  & .hc-event__time-end {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.0;
    color: var(--color-dark);
    opacity: 0.6;
  }

  & .hc-event__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  & .hc-event__details {
    display: flex;
    flex-direction: column;
    gap: 6px;

    &.hc-event__details--blur {
      filter: blur(7px);
      user-select: none;
      pointer-events: none;
    }
  }

  & .hc-event__title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
  }

  & .hc-event__desc {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-dark);
    ul {
      list-style: inherit;
    }
  }

  & .hc-event__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--grad-purple);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-light);
    align-self: flex-start;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  & .hc-event__image {
    width: 160px;
    height: 104px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(41,46,61,0.08);
    flex-shrink: 0;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.hc-breakouts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(41,46,61,0.08);

  & .hc-breakout {
    display: flex;
    flex-direction: column;
    gap: 4px;

    & .hc-breakout__title {
      font-size: 14px;
      font-weight: 800;
      color: var(--color-dark);
    }

    & .hc-breakout__body {
      font-size: 14px;
      font-weight: 500;
      line-height: 1.5;
      color: var(--color-dark);
      opacity: 0.75;
      ul {
        list-style: inherit;
      }
    }
  }
}

/* =============================================
   FOOTER
   ============================================= */
.hc-footer {
  background: linear-gradient(135deg, #6c49ed, #3f42ec);
  position: relative;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.50);
  }

  & .hc-footer__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 32px var(--section-pad-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }

  & .hc-footer__logo {
    & img {
      height: 40px;
      width: auto;
    }
  }

  & .hc-footer__copy {
    font-family: var(--font-footer);
    font-size: 11px;
    font-weight: 500;
    color: rgba(240,241,245,0.85);
  }

  & .hc-footer__links {
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: var(--font-footer);
    font-size: 11px;
    font-weight: 500;

    & a {
      color: var(--color-light);
      transition: opacity 0.2s;

      &:hover { opacity: 0.75; }
    }

    & .hc-footer__links-sep {
      color: rgba(240,241,245,0.85);
    }
  }
}

/* =============================================
   PASSWORD PAGE
   ============================================= */
body.hc-password-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hc-password {
  flex: 1;
  display: flex;
}

.hc-password__hero {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hc-password__bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.hc-password__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 3, 14, 0.55);
}

.hc-password__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  padding: 0 var(--section-pad-h);
  gap: 24px;
}

.hc-password__logo {
  max-width: 494px;
  width: 100%;
  height: auto;
}

.hc-password__text {
  font: 400 14px/1.6 var(--font-primary);
  letter-spacing: -0.28px;
  color: var(--color-light);
}

.hc-password__form {
  width: 100%;
  max-width: 400px;
}

.hc-password__field {
  display: flex;
  gap: 8px;

  & input {
    flex: 1;
    height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(240, 241, 245, 0.4);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--color-light);
    font: 400 14px var(--font-primary);
    letter-spacing: -0.28px;
    outline: none;
    min-width: 0;

    &::placeholder {
      color: rgba(240, 241, 245, 0.6);
    }

    &:focus {
      border-color: rgba(240, 241, 245, 0.8);
    }
  }

  & button {
    flex-shrink: 0;
  }
}

.hc-password__error {
  margin-top: 12px;
  font: 500 13px/1.4 var(--font-primary);
  color: #ff6b6b;
}

/* =============================================
   RESPONSIVE — med (640–899px)
   ============================================= */
@media (max-width: 899px) {
  :root {
    --section-pad-v:  56px;
    --section-pad-h:  32px;
  }

  .hc-hero {
    min-height: auto;
  }

  .hc-hero .hc-hero__inner {
    gap: 48px;
    padding-top: 128px;
    padding-bottom: 0;
  }

  .hc-hero .hc-hero__bottom {
    flex-direction: column;
    gap: 16px;
  }

  .hc-hero .hc-hero__bottom-image {
    order: -1;
    width: 100%;
    align-self: auto;
    aspect-ratio: 16/9;
  }

  .hc-hero .hc-hero__bottom-text {
    padding: 8px;
  }

  .hc-hero--schedule .hc-hero__inner {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hc-block-intro .hc-container {
    flex-direction: column;
    gap: 32px;
  }

  .hc-block-intro .hc-intro__image {
    order: -1;
  }

  .hc-block-event-details .hc-details__days {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hc-block-logistics .hc-logistics__cols {
    gap: 16px;
  }

  .hc-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 32px;
  }

  .hc-block-rsvp {
    padding: 80px 0;

    & .hc-rsvp__text {
      max-width: 100%;
    }
  }

  .hc-form__fields {
    grid-template-columns: 1fr;
  }

  .hc-block-rsvp .fluentform fieldset {
    grid-template-columns: 1fr;
  }
  .hc-block-rsvp .fluentform fieldset > .ff-el-group:nth-of-type(n) {
    grid-column: 1;
    grid-row: auto;
  }

  .hc-footer .hc-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hc-event {
    grid-template-columns: 120px 1fr;

    & .hc-event__image { display: none; }
  }

  .hc-schedule-hero__title { font-size: 40px; }

  .hc-password__content { max-width: 480px; }
}

/* =============================================
   RESPONSIVE — sm (0–639px)
   ============================================= */
@media (max-width: 639px) {
  :root {
    --section-pad-v:  48px;
    --section-pad-h:  20px;
  }

  .hc-nav {
    padding: 20px var(--section-pad-h);
  }

  .hc-hero {
    & .hc-hero__inner {
      padding-top: 108px;
      gap: 40px;
    }

    & .hc-hero__connect-logo img {
      height: 48px;
    }

    & .hc-hero__heading { font-size: 26px; }
    & .hc-hero__bottom-image { max-width: 100%; }
  }

  .hc-schedule-hero__title { font-size: 32px; }

  .hc-block-intro {
    & .hc-intro__heading { font-size: 28px; }
  }

  .hc-block-experience {
    & .hc-section-heading { font-size: 28px; }
  }

  .hc-slide {
    & .hc-slide__title { font-size: 22px; }
  }

  .hc-carousel {
    & .hc-carousel__track { gap: 16px; }
  }

  .hc-block-event-details {
    & .hc-details__heading { font-size: 28px; }
    & .hc-details__days { flex-direction: column; gap: 24px; }
  }

  .hc-block-logistics {
    & .hc-logistics__heading { font-size: 28px; }
    & .hc-logistics__cols { grid-template-columns: 1fr; }
  }

  .hc-grid { grid-template-columns: 1fr; }

  .hc-block-rsvp {
    padding: 64px 0;

    & .hc-rsvp__heading { font-size: 30px; }
  }

  .hc-day-headline .hc-day-headline__title { font-size: 26px; }

  .hc-event {
    grid-template-columns: 100px 1fr;
    gap: 16px;

    & .hc-event__time-main { font-size: 17px; }
    & .hc-event__title { font-size: 17px; }
  }

  .hc-footer .hc-footer__inner {
    & .hc-footer__links { flex-wrap: wrap; }
  }

  .hc-password__logo { max-width: 354px; }

  .hc-password__content {
    max-width: 354px;
    gap: 20px;
  }

  .hc-password__field {
    flex-direction: column;
  }
  
  .hc-experience-cards {
    flex-direction: column;
  }
}

/* =============================================
   WIDE SCREENS (1400px+)
   ============================================= */
@media (min-width: 1400px) {
  :root {
    --section-pad-h: 64px;
  }
}

/* =============================================
   DEBUG: Breakpoint indicator
   ============================================= */
body.logged-in::after {
  content: 'sm (0–639)';
  position: fixed;
  top: 48px;
  left: 8px;
  z-index: 99999;
  background: rgba(0,0,0,0.7);
  color: #0f0;
  font: 11px/1 monospace;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}

@media (min-width: 640px) {
  body.logged-in::after { content: 'med (640–899)'; }
}

@media (min-width: 900px) {
  body.logged-in::after { content: 'lg (900–1399)'; }
}

@media (min-width: 1400px) {
  body.logged-in::after { content: 'wide (1400+)'; }
}
