/* ============================================================
   CHILI'S GOLF CLUB x RHOBACK GIVEAWAY — style.css
   ============================================================ */

@font-face {
    font-family: "TT Norms Pro Variable";
    src: url("https://galeinternal-emailcreatives.s3.us-west-2.amazonaws.com/chilis-marg-day/TT+Norms+Pro+Variable.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-feature-settings: "liga" off,"clig" off
}

@font-face {
    font-family: "TT Norms Pro Variable - Extra Bold";
    src: url("https://galeinternal-emailcreatives.s3.us-west-2.amazonaws.com/chilis-marg-day/TT+Norms+Pro+Variable.ttf") format("truetype");
    font-weight: 740;
    font-style: normal;
    font-display: swap;
    font-feature-settings: "liga" off,"clig" off;
    leading-trim: both;
    text-edge: cap
}


/* ── Reset ─────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  outline: none;
}

a { outline: 0; }

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  margin: 0;
  padding: 0;
}

p { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

.row { --bs-gutter-x: 0; }


/* ── CSS Custom Properties ─────────────────────────────────── */

:root {
  color-scheme: light;
  --background-color: #ffffff;
  --text-color: #000000;
  --nav-h: 80px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --background-color: #ffffff;
    --text-color: #000000;
  }
}


/* ── Global Layout ─────────────────────────────────────────── */

body {
  min-width: 320px;
  width: 100vw;
  height: fit-content;
  overflow-x: hidden;
  background-color: #eeece7;
  font-family: "Montserrat", sans-serif;
  font-variation-settings: "slnt" 0;
}

main {
  position: relative;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

a,
button {
  cursor: pointer;
  background: rgba(0, 0, 0, 0);
  border: none;
  text-decoration: none;
}

a { color: inherit; text-decoration: none; }

sup {
  top: -0.25em;
  line-height: 10px;
  vertical-align: 2px;
}

.max-1440 { max-width: 1440px; margin: 0 auto; }
.max-1170 { max-width: 1170px; margin: 0 auto; }
.full-width { width: 100%; }

.inner-box {
  position: relative;
  content: "";
  width: 100%;
  height: 100%;
}


/* ── Focus / Accessibility ─────────────────────────────────── */

a { outline: none; }

a:hover {
  border-radius: 8px;
  outline: 2px solid #FFC60B;
  outline-offset: 2px;
}

a:focus:not(:focus-visible) { outline: none; }

a:focus-visible {
  border-radius: 8px;
  outline: 2px solid #ED1C24;
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid #ED1C24;
  border-radius: 8px;
}


/* ── Typography ────────────────────────────────────────────── */

h1 {
  transition: all .3s;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 25px;
  line-height: normal;
  text-transform: uppercase;
}

h2 {
  transition: all .3s;
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  font-size: 20px;
  line-height: normal;
  text-transform: uppercase;
}

h3 {
  transition: all .3s;
  font-family: Montserrat, sans-serif;
  font-weight: 900;
  font-size: 18px;
  font-style: normal;
  line-height: 140%;
  text-transform: uppercase;
}

.headline {
  transition: all .3s;
  font-size: 42px;
  line-height: 100%;
  text-transform: uppercase;
  font-weight: 400;
  font-family: "Alfa Slab One", serif;
  color: #22235B;
  letter-spacing: 0;
}

.h2-accent {
  transition: all .3s;
  font-family: "Alfa Slab One", sans-serif;
  font-size: 40px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
}

.h4-accent {
  transition: all .3s;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
  font-style: normal;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
padding-bottom: 50px;
}

.body-small {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
}


/* ── Buttons ────────────────────────────────────────────────── */

.order-btn {
  font-family: "TT Norms Pro Variable - Extra Bold" !important;
}

.btn {
  width: fit-content;
  padding: 10px 50px;
  border: none;
  outline: none;
  border-radius: 8px;
  transition: all .3s;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  line-height: normal;
  letter-spacing: .28px;
  text-transform: uppercase;
}

.primary-btn { background: #ed1c24; }

.primary-btn:focus,
.primary-btn:hover {
  background-color: #fff;
  border-radius: 8px;
  color: #ed1c24;
  padding: 10px 50px !important;
}

.newMember .btn,
.expired .btn {
  font-family: "TT Norms Pro Variable - Extra Bold" !important;
}


/* ── Navigation ─────────────────────────────────────────────── */

nav {
  position: absolute;
  width: 100%;
  top: 0;
  padding: 0;
  z-index: 10;
  transition: all .2s;
  background-color: #22235B;
}

nav #mobile-nav-toggle-button {
  position: relative;
  z-index: 9;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

nav #mobile-nav-toggle-button #menu-icon { stroke: #ffffff; }

nav #mobile-nav-toggle-button #close-icon {
  stroke: #ffffff;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 16px;
  left: 16px;
}

nav #nav-list { display: none; }

nav #mobile-nav-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

nav #mobile-nav-list #mobile-nav-list-wrapper {
  transition: all .6s;
  background-color: #22235B;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 50px;
  transform: translateY(-600px);
}

nav #mobile-nav-list #mobile-nav-list-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #22235B;
  border-radius: 440px;
  opacity: 0.4;
  filter: blur(103.69px);
  z-index: -1;
}

nav #mobile-nav-list #mobile-nav-list-wrapper .nav-item {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 120%;
  text-transform: uppercase;
  transition: all .3s;
}

nav #mobile-nav-list #mobile-nav-list-wrapper .nav-item:hover { color: #FFC60B; }

nav.expand #mobile-nav-toggle-button #menu-icon  { visibility: hidden; opacity: 0; }
nav.expand #mobile-nav-toggle-button #close-icon { visibility: visible; opacity: 1; }
nav.expand #mobile-nav-list                      { display: block; }
nav.expand #mobile-nav-list #mobile-nav-list-wrapper { transform: translateY(0); }


/* ── Hero ───────────────────────────────────────────────────── */

#hero {
  color: #FFC60B;
  background-color: #000;
}

#hero #hero-wrapper {
  position: relative;
  padding: 11% 0 20% 0;
  overflow: hidden;
}

#hero #hero-wrapper::before,
#hero #hero-wrapper::after {
  position: absolute;
  display: block;
  content: "";
  width: 0;
  height: 100%;
  opacity: 0;
  transition: all .3s;
  z-index: 2;
}

#hero #hero-content {
  max-width: 928px;
  position: relative;
  z-index: 1;
  gap: 32px;
  transition: all .3s;
  width: 100%;
  padding: 0;
  padding-top: 100px;
}
    /* ── Card wrap: constrains card width and anchors badge ── */
   .hero-card-wrap {
    position: relative;
    width: 100%;
    max-width: 928px;
    margin-left: auto;
    margin-right: auto;
    border: 10px solid #22235B;
    border-radius: 20px;
}

.hero-badge {
    width: 316px;
    position: absolute;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    top: -18%;
}

.hero-card {
  background: #EEECE7;
  padding: 190px 120px 85px;
  border-radius: 10px;
}

.card-headline-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 120%;
    color: #22235B;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
}

div#card-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 32px;
  align-items: normal;
}

p.card-legal {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: #22235B;
}

p.card-legal a {
  text-decoration: underline;
  color: #22235B;
}

#hero #hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
  object-position: center center;
}

.welcome { gap: 32px; }
.expired { gap: 32px; }


/* ── Secondary Section ──────────────────────────────────────── */

#secondary {
  background: #22235B;
  padding: 100px 80px;
}




/* ── Form ───────────────────────────────────────────────────── */

form#surveyForm { width: 100%; }

.custom-email {
  max-width: 688px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.04);
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form-control:focus {
  box-shadow: none;
  border: none;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  opacity: 1;
}

input[type="email"] {
  border: 0;
  border-radius: 8px;
  height: 50px;
  background: #ffffff;
  color: #000000;
  line-height: 26px;
  margin: 7px 7px 7px 16px;
  outline: none;
  font-size: 18px;
}

button.next.action-button.submit {
  background: #ED1C24;
  border: 0;
  border-radius: 8px;
  color: white;
  height: 50px;
  font-size: 40px;
  line-height: 50px;
  width: 64px;
  margin: 7px 7px 7px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

button.next.action-button.submit:focus {
  outline: none;
  border-radius: 8px;
  border: 2px solid #FFC60B;
}

button.next.action-button.submit:hover {
  background: #ED1C24;
  color: #ED1C24;
  border: 1px solid #ED1C24;
}

.form-control::placeholder,
::placeholder {
  color: #000000;
  opacity: 1;
}

::-ms-input-placeholder { color: #000000; }

.errorMsg {
  display: flex;
  padding-top: 12px;
  color: #E81B23;
  font-weight: 500;
  font-family: "TT Norms Pro Variable", sans-serif;
}

.borderRed { border: 1px solid #ED1C24; }


/* ── Recipe Section ─────────────────────────────────────────── */

#recipe-section { position: relative; z-index: 2; }

.inner-box.d-flex.flex-column.align-items-center.flex-lg-row.justify-content-between {
  gap: 40px;
}

#recipe-section .inner-box p {
  margin-bottom: 0;
  text-align: left;
  color: #ffffff;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  line-height: 140%;
  padding-right: 0;
}

#recipe-section .recipe-content .btn { margin-top: 32px; }

#recipe-section .inner-box h2:first-of-type { margin-bottom: 20px; }
#recipe-section .inner-box h2:last-of-type  { margin-bottom: 24px; }

#recipe-section .recipe-content {
  position: relative;
  z-index: 0;
  padding: 0;
  color: white;
}

#recipe-section .recipe-group {
  position: relative;
  max-width: 100%;
  transition: all .3s;
}


/* ── Hero Copy / State Panels ───────────────────────────────── */

.herocopy {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  color: #22235B;
  padding-bottom: 32px;
}

.thankYouContent, .newMember, .secondTimeEntry, .expired {
  padding: 86px 120px ;
  flex-direction: column;
  gap: 32px;
}


/* ── Contest Rules ──────────────────────────────────────────── */

.contest-rules-intro {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 160%;
  color: #EEECE7;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contest-rules-body {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
  color: #EEECE7;
  margin-bottom: 0;
}


/* ── Footer ─────────────────────────────────────────────────── */

footer {
  background-color: #000000;
  color: #eeece7;
  padding: 0;
}

#fun-fact-section {
  padding: 50px 32px 25px;
  background-color: #000000;
}

.hero-card.newMember.row.justify-content-left.justify-content-sm-start.thankYouContent,.hero-card.secondTimeEntry.row.justify-content-left.justify-content-sm-start.thankYouContent,.hero-card.thankYou.row.justify-content-center.justify-content-sm-start.thankYouContent ,.hero-card.expired.row.justify-content-left.justify-content-sm-start.expiredContent.thankYouContent{
    border: 10px solid #22235B;
    border-radius: 20px;
}



/* ── Accordion ──────────────────────────────────────────────── */

#accordionContainer {
  --bs-accordion-bg: black;
  padding-top: 50px;
  color: white;
}

.accordion {
  --bs-accordion-btn-icon: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cmask id='m' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='18' height='18'%3E%3Crect width='18' height='18' transform='matrix(0 -1 -1 0 18 18)' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23m)'%3E%3Cpath d='M1.75961 5.99992L8.99992 13.2402L16.2402 5.99992L15.1758 4.93548L8.99992 11.1115L2.82405 4.93548L1.75961 5.99992Z' fill='white'/%3E%3C/g%3E%3C/svg%3E);
}

.accordion-flush > .accordion-item:first-child { border-top: 1px solid #dee2e6; }

.accordion-button {
  font-family: "Montserrat", sans-serif;
  color: #EEECE7;
  font-weight: 700;
  padding: 32px 0 0;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 25px;
}

button.accordion-button.collapsed { padding-bottom: 32px; }
button.accordion-button           { padding-bottom: 24px; }

.accordion-button:not(.collapsed) {
  background: black;
  color: #EEECE7;
  box-shadow: none;
}

.accordion-button:focus {
  outline: 1px solid #FFC60B;
  outline-offset: 2px;
  border-radius: 8px;
  box-shadow: none;
}

#accordionContainer .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cmask id='m' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='18' height='18'%3E%3Crect width='18' height='18' transform='matrix(0 -1 -1 0 18 18)' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23m)'%3E%3Cpath d='M1.75961 5.99992L8.99992 13.2402L16.2402 5.99992L15.1758 4.93548L8.99992 11.1115L2.82405 4.93548L1.75961 5.99992Z' fill='white'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.accordion-body {
  color: #EEECE7;
  font-family: "Montserrat", sans-serif;
  padding: 0 0 32px;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
}


/* ── Responsive ─────────────────────────────────────────────── */

@media screen and (min-width: 2000px) {
  #hero #hero-wrapper::before {
    top: 0; left: 0; z-index: 1; opacity: 1;
    width: 100px; height: auto;
    background-image: linear-gradient(to right, black, transparent);
  }
  #hero #hero-wrapper::after {
    top: 0; right: 0; z-index: 1; opacity: 1;
    width: 100px;
    background-image: linear-gradient(to left, black, transparent);
  }
}

@media only screen and (max-width: 756px) {
  div#state-welcome  { padding: 100px 24px 40px; }
  .card-headline-text { font-size: 20px; }
  .hero-badge        { width: 200px; top: -70px; }

  .herocopy {
    font-size: 18px;
    color: #1A1A1A;
    padding-bottom: 0;
  }
  .headline { font-size: 32px; padding-bottom: 0; }
  .h2-accent { font-size: 30px; }
  .expired   { display: flex; }
  .thankYouContent { padding: 72px 24px 48px; }

  #hero #hero-content { max-width: 100%; padding-left:  16px; padding-right: 16px; }
  #hero #hero-wrapper { padding-bottom: 80%; padding-top: calc(var(--nav-h) + 40px); }
  #hero #hero-img     { object-position: bottom; }

  #secondary { padding: 60px 24px; }
  #recipe-section .inner-box p { padding-right: 0; font-size: 18px; }

  #accordionContainer { padding-top: 30px; }
  .h4-accent { font-size: 30px; }
}

@media only screen and (min-width: 481px) and (max-width: 756px) {
  div#state-welcome { padding: 120px 30px 30px; }
}

@media only screen and (min-width: 757px) and (max-width: 1024px) {
  #recipe-section .inner-box p { padding-right: 0; }
  .thankYouContent { padding: 85px 32px !important; }

  .herocopy {
    font-size: 18px;
    text-align: left !important;
    color: #1A1A1A;
    padding-bottom: 0;
  }
  .headline { text-align: left !important; font-size: 32px; padding-bottom: 0; }
  .h2-accent { font-size: 30px; }

  #hero #hero-wrapper  { padding: 28% 0 70%; }
  #hero #hero-content   {max-width: 100%;padding: 0;width: 90%;margin: auto;}
  #hero #hero-img      { object-position: bottom; }

  #secondary { padding: 80px 48px; }
  .h4-accent { font-size: 30px; }
.hero-card {
    padding: 180px 32px 80px;
}
}

@media only screen and (min-width: 1025px) {
  .herocopy {
    font-size: 28px;
    color: #22235B;
    padding-bottom: 0;
  }
  #fun-fact-section   { padding: 85px 48px 42px; }
  #hero #hero-wrapper { padding: 14% 0 30% 0; }
}

@media screen and (min-width: 768px) {
  input[type="email"] { width: 590px; float: left; font-size: 18px; }
  footer { padding: 0; }

  nav { padding: 27px 48px; }
  nav #mobile-nav-toggle-button { display: none; }
  nav #mobile-nav-list          { display: none; }

  nav #nav-list {
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
  }
  nav #nav-list .left-nav-container          { display: flex; align-items: center; gap: 24px; }
  nav #nav-list .left-nav-container #nav-logo { width: 85px; margin-right: 24px; }
  nav #nav-list .left-nav-container #nav-logo img { object-fit: contain; }
  nav #nav-list .left-nav-container .nav-item { color: #fff; padding: 5px; }
  nav #nav-list .left-nav-container .nav-item:hover { color: #FFC60B; }

  nav #nav-list .order-btn { border: 2px solid #fff; transition: all .3s; }
  nav #nav-list .order-btn:focus-visible,
  nav #nav-list .order-btn:focus,
  nav #nav-list .order-btn:hover {
    color: #FFC60B;
    outline: none;
    border-radius: 8px;
    padding: 10px 50px;
    border-color: #FFC60B;
  }
  nav #mobile-nav-toggle-button #menu-icon { stroke: #ffffff; }

  .btn       { font-size: 20px; letter-spacing: .4px; padding: 10px 50px; }
  .body-small { font-size: 18px; }

  h1         { font-size: 50px; }
  h2         { font-size: 40px; }
  .h2-accent { font-size: 40px; }
  .h4-accent { font-size: 40px; }
}

@media screen and (min-width: 992px) {
  #recipe-section .inner-box h2:first-of-type { margin-bottom: 28px; }
  #recipe-section .inner-box h2:last-of-type  { margin-bottom: 24px; }
  #recipe-section .recipe-group               { margin-left: -2%; }
  #recipe-section .recipe-content             { margin-top: 0; }
}

@media screen and (min-width: 1200px) {
  #recipe-section .recipe-group { margin-left: 0; }
}

@media screen and (min-width: 1488px) {
  #fun-fact-section { padding: 85px 42px 42px; }
}



    /* ── Hero section centering ── */
    #hero #hero-wrapper {
      align-items: center;
      justify-content: center;
    }



    /* ── Mobile ── */
    @media only screen and (max-width: 756px) {
    

    
    
      .hero-card-wrap    { max-width: 100%; }
      .card-headline-text { font-size: 20px; }
    }

   

   
    /* ── Secondary section button spacing ── */
    #secondary .recipe-content .btn { margin-top: 28px; display: inline-block; }