/* =============================================================================
   Travel Hackers - brand stylesheet
   Loaded AFTER Bootstrap 5.3 so everything below is an intentional override.

   Brand: soft plum ink / blush paper / coral + teal / warm sun accents.
   Baloo 2 display + Nunito Sans body (self-hosted, variable woff2).
   Design read: playful, warm, community-first travel brand for a feminine-leaning
   but inclusive audience. Not a template look.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   0. Self-hosted fonts (variable woff2, subsetted, font-display swap)
   ------------------------------------------------------------------------- */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/baloo2-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/baloo2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/baloo2-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/baloo2-devanagari.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunitosans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunitosans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunitosans-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunitosans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunitosans-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ---------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  --ink: #33272E;
  --ink-2: #463A42;
  --ink-3: #5A4A52;
  --paper: #FFF8F6;
  --paper-card: #FFFFFF;
  --blush: #FFEDE7;

  --coral: #F26D6D;
  --coral-hover: #E25456;
  --coral-soft: rgba(242, 109, 109, 0.12);
  /* Deep-coral derivative for solid surfaces that must hold white text at 4.5:1. */
  --coral-strong: #C2403F;

  --teal: #0E9C93;
  --teal-hover: #0B7F78;
  --teal-soft: rgba(14, 156, 147, 0.12);

  --sun: #FFC94D;
  --sun-soft: rgba(255, 201, 77, 0.18);

  --sand: #F7E8DF;
  --slate: #8A7B84;
  --danger: #B42318;

  /* Legacy amber aliases kept so existing inline var(--amber*) references
     resolve to the new coral accent without touching every page. */
  --amber: var(--coral);
  --amber-hover: var(--coral-hover);
  --amber-soft: var(--coral-soft);

  --line: rgba(51, 39, 46, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);

  --radius-card: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --font-display: 'Baloo 2', 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  --shadow-lift: 0 18px 40px -22px rgba(51, 39, 46, 0.18);
  --shadow-pop: 0 30px 60px -30px rgba(51, 39, 46, 0.32);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font-body);
}

/* ---------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}
a:hover {
  color: var(--coral-hover);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--coral);
  color: #FFFFFF;
}

:focus-visible {
  outline: 3px solid rgba(242, 109, 109, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   3. Typography + layout utilities
   ------------------------------------------------------------------------- */
.display-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: var(--coral);
  border-radius: 2px;
}

.section {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.section--tight {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section-head {
  max-width: 800px;
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0.6rem 0 0;
}
.section-head p {
  color: var(--slate);
  margin: 1rem 0 0;
  max-width: 60ch;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-amber { color: var(--coral) !important; }
.text-coral { color: var(--coral) !important; }
.text-teal  { color: var(--teal) !important; }
.text-ink   { color: var(--ink) !important; }
.text-muted-thc { color: var(--slate) !important; }
.bg-ink   { background-color: var(--ink) !important; }
.bg-ink-2 { background-color: var(--ink-2) !important; }
.bg-sand  { background-color: var(--sand) !important; }
.bg-teal  { background-color: var(--teal) !important; }
.bg-blush { background-color: var(--blush) !important; }

/* ---------------------------------------------------------------------------
   4. Buttons (all CTAs are coral, teal or outline. No default Bootstrap blue.)
   ------------------------------------------------------------------------- */
.btn-thc {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--coral-strong);
  --bs-btn-border-color: var(--coral-strong);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: var(--coral-hover);
  --bs-btn-hover-border-color: var(--coral-hover);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--coral-strong);
  --bs-btn-active-border-color: var(--coral-strong);
  --bs-btn-disabled-color: rgba(255, 255, 255, 0.75);
  --bs-btn-disabled-bg: var(--coral);
  --bs-btn-disabled-border-color: var(--coral);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.6rem;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 22px -14px rgba(194, 64, 63, 0.65);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out),
              background-color 0.18s var(--ease-out);
}
.btn-thc:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 30px -14px rgba(194, 64, 63, 0.7);
}
.btn-thc:active {
  transform: translateY(0) scale(0.98);
}

.btn-thc-ghost {
  --bs-btn-color: #FFFFFF;
  --bs-btn-border-color: rgba(255, 255, 255, 0.45);
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.14);
  --bs-btn-active-border-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.6rem;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-out), background-color 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out);
}
.btn-thc-ghost:hover {
  transform: translateY(-2px);
}
.btn-thc-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-thc-outline {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: rgba(51, 39, 46, 0.35);
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: var(--coral-hover);
  --bs-btn-hover-bg: var(--coral-soft);
  --bs-btn-hover-border-color: var(--coral);
  --bs-btn-active-color: var(--coral-hover);
  --bs-btn-active-bg: var(--coral-soft);
  --bs-btn-active-border-color: var(--coral);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.72rem 1.6rem;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-out), background-color 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out);
}
.btn-thc-outline:hover { transform: translateY(-2px); }
.btn-thc-outline:active { transform: translateY(0) scale(0.98); }

.btn-thc.btn-sm, .btn-thc-ghost.btn-sm, .btn-thc-outline.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------------------
   5. Navigation (plum, sticky)
   ------------------------------------------------------------------------- */
.site-nav {
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.site-nav .container {
  position: relative;
}
.site-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.site-wordmark:hover { color: #FFFFFF; }
.wordmark-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--coral);
  color: #FFFFFF;
  font-size: 1rem;
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.75rem;
  position: relative;
  white-space: nowrap;
}
.site-nav .nav-link:hover { color: var(--coral); }
.site-nav .nav-link.active {
  color: #FFFFFF;
}
.site-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: 0.75rem;
}
.nav-auth .nav-login {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  white-space: nowrap;
}
.nav-auth .nav-login:hover { color: var(--coral); }
.nav-auth .nav-user {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-auth .nav-user strong { color: #FFFFFF; font-weight: 600; }

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(242, 109, 109, 0.5);
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ---------------------------------------------------------------------------
   6. Hero (full-bleed image + warm plum gradient overlay)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 900px);
  display: flex;
  align-items: flex-end;
  color: #FFFFFF;
  overflow: hidden;
  background: var(--ink);
}
/* NOTE: .hero-media and .img-wrap are both on the same div; these selectors
   must stay more specific than .img-wrap (position: relative) or the hero
   image falls out of full-bleed and the --ink background shows above it. */
.hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero .hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 39, 46, 0.3) 0%, rgba(51, 39, 46, 0.44) 45%, rgba(51, 39, 46, 0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.hero-content .eyebrow {
  color: var(--coral);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 1.1rem 0 0;
  max-width: 18ch;
}
.hero-sub {
  margin: 1.3rem 0 0;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
}
.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   6b. Page load-in animation (homepage hero + interior page heroes)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero-title .d-block,
  .hero-sub,
  .hero-ctas .btn,
  .hero-media img,
  .page-hero-content .eyebrow,
  .page-hero-content h1,
  .page-hero-content p {
    opacity: 0;
    animation: hero-in 0.6s var(--ease-out) forwards;
  }
  .hero-media img {
    animation-duration: 0.9s;
    animation-name: hero-img-in;
  }
  .hero .eyebrow           { animation-delay: 0.05s; }
  .hero-title .d-block:nth-child(1) { animation-delay: 0.16s; }
  .hero-title .d-block:nth-child(2) { animation-delay: 0.25s; }
  .hero-title .d-block:nth-child(3) { animation-delay: 0.34s; }
  .hero-sub                { animation-delay: 0.44s; }
  .hero-ctas .btn:nth-child(1) { animation-delay: 0.55s; }
  .hero-ctas .btn:nth-child(2) { animation-delay: 0.64s; }
  .hero-media img          { animation-delay: 0.2s; }

  .page-hero-content .eyebrow { animation-delay: 0.05s; }
  .page-hero-content h1       { animation-delay: 0.16s; }
  .page-hero-content p        { animation-delay: 0.28s; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-img-in {
  from { opacity: 0; transform: scale(1.035); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------------------------------
   7. Marquee ticker (plum bar, coral + teal items)
   ------------------------------------------------------------------------- */
.ticker {
  background: var(--ink);
  color: var(--coral);
  overflow: hidden;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-item:nth-child(odd)  { color: var(--coral); }
.ticker-item:nth-child(even) { color: var(--teal); }
.ticker-item::after {
  content: '\2022';
  margin: 0 1.5rem;
  color: var(--sun);
  opacity: 0.85;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------------
   8. Cards (20px radius, hover lift with warm tinted shadow)
   ------------------------------------------------------------------------- */
.img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush), var(--sand));
}
.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-wrap.is-fallback img {
  opacity: 0;
}

.deal-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}
.deal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 109, 109, 0.28);
  box-shadow: var(--shadow-lift);
}
.deal-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
}
.deal-media img {
  transition: transform 0.5s var(--ease-out);
}
.deal-card:hover .deal-media img {
  transform: scale(1.045);
}
.deal-dest-chip {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.72rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px -4px rgba(51, 39, 46, 0.35);
}
.deal-lock {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(51, 39, 46, 0.86);
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.36rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 109, 109, 0.45);
}
.deal-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.3rem 1.4rem 1.4rem;
  flex: 1;
}
.deal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}
.deal-blurb {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
}
.deal-meta {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.deal-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.deal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  white-space: nowrap;
}
.deal-link:hover { color: var(--coral-hover); }

/* Locked member-only deals (logged-out visitors) */
.deal-card.is-locked .deal-media img {
  filter: blur(4px) saturate(0.45);
  opacity: 0.6;
  transform: scale(1.06);
}
.deal-card.is-locked .deal-title,
.deal-card.is-locked .deal-blurb {
  color: var(--slate);
}

/* Membership tiers */
.member-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2.1rem 1.8rem 1.9rem;
  height: 100%;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}
.member-card:not(.member-card--featured):hover {
  transform: translateY(-4px);
  border-color: rgba(242, 109, 109, 0.28);
  box-shadow: var(--shadow-lift);
}
.member-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: var(--shadow-pop);
  z-index: 1;
}
.member-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral-strong);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(194, 64, 63, 0.5);
}
.member-tier {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.member-card--featured .member-tier { color: var(--coral); }
.member-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0.7rem 0 0;
}
.member-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0;
}
.member-card--featured .member-price small { color: rgba(255, 255, 255, 0.6); }
.member-blurb {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0.7rem 0 0;
}
.member-card--featured .member-blurb { color: rgba(255, 255, 255, 0.75); }
.member-features {
  list-style: none;
  margin: 1.5rem 0 1.9rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  flex: 1;
}
.member-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.member-features li i { color: var(--teal); margin-top: 0.2rem; }
.member-card--featured .member-features li { color: rgba(255, 255, 255, 0.8); }
.member-card--featured .member-features li i { color: var(--coral); }

/* Generic info / placeholder cards (dashboard, tips, community) */
.info-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.7rem;
  height: 100%;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.info-card .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral-hover);
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0;
  margin: 0 0 0.4rem;
}
.info-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   9. Editorial big-number benefits
   ------------------------------------------------------------------------- */
.benefit-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1.5rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}
.benefit-row:last-of-type { border-bottom: 1px solid var(--line); }
.benefit-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--coral);
  opacity: 0.95;
}
.benefit-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
}
.benefit-body p {
  color: var(--slate);
  margin: 0;
  max-width: 60ch;
}
.bg-ink .benefit-row {
  border-color: var(--line-dark);
}
.bg-ink .benefit-body h3 { color: #FFFFFF; }
.bg-ink .benefit-body p { color: rgba(255, 255, 255, 0.7); }
.bg-ink .section-head p { color: rgba(255, 255, 255, 0.68); }

/* ---------------------------------------------------------------------------
   10. Winners strip
   ------------------------------------------------------------------------- */
.winner-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(51, 39, 46, 0.1);
}
.winner-row:last-of-type { border-bottom: 1px solid rgba(51, 39, 46, 0.1); }
.winner-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.winner-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}
.winner-prize {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0.1rem 0 0;
}
.winner-tag {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   11. FAQ accordion (native details + custom chevron)
   ------------------------------------------------------------------------- */
.faq-item {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 1.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230E9C93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-body {
  padding: 1.1rem 1.45rem 1.35rem;
  color: var(--slate);
  font-size: 0.97rem;
}
.faq-item .faq-body p { margin: 0; }

/* ---------------------------------------------------------------------------
   12. Newsletter
   ------------------------------------------------------------------------- */
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1 1 220px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  padding: 0.75rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.newsletter-input::placeholder { color: var(--slate); }
.newsletter-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem var(--teal-soft);
}
.site-footer .newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}
.site-footer .newsletter-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.site-footer .newsletter-input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(242, 109, 109, 0.25);
}

/* ---------------------------------------------------------------------------
   13. Forms
   ------------------------------------------------------------------------- */
.form-panel {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  box-shadow: 0 26px 55px -32px rgba(51, 39, 46, 0.3);
}
.form-panel h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.01em;
}
.form-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 0.7rem 0.95rem;
  background: #FFFFFF;
  color: var(--ink);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem var(--teal-soft);
}
.form-control::placeholder { color: var(--slate); }
.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.form-hint {
  color: var(--slate);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.alert {
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.alert-success {
  background: var(--teal-soft);
  border-color: rgba(14, 156, 147, 0.35);
  color: #0B625A;
}

/* ---------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 4.2rem;
}
.site-footer h5 {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}
.site-footer a:hover { color: var(--coral); }
.site-footer .footer-brand {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.site-footer .footer-blurb {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 1rem 0 0;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.3rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.8);
}
.footer-social a:hover {
  background: var(--coral);
  color: #FFFFFF;
  border-color: var(--coral);
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: 3.2rem;
  padding: 1.35rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
}

/* ---------------------------------------------------------------------------
   15. Page hero (interior pages)
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  color: #FFFFFF;
  overflow: hidden;
  background: var(--ink);
}
.page-hero .page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero .page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 39, 46, 0.52), rgba(51, 39, 46, 0.9));
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0.9rem 0 0;
  max-width: 18ch;
}
.page-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin: 1.1rem 0 0;
}

/* ---------------------------------------------------------------------------
   16. Scroll reveal (IntersectionObserver, staggered)
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cards that carry both .reveal and a hover-lift on the same element need the
   lift re-stated above the reveal's transform reset. */
.reveal.is-visible.deal-card:hover,
.reveal.is-visible.info-card:hover {
  transform: translateY(-4px);
}

/* ---------------------------------------------------------------------------
   17. Dashboard
   ------------------------------------------------------------------------- */
.dash-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--coral-strong);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
}

/* ---------------------------------------------------------------------------
   18. Reduced motion + responsive
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ticker-track {
    animation: none;
  }
  .deal-card,
  .member-card,
  .info-card,
  .btn-thc,
  .btn-thc-ghost,
  .btn-thc-outline,
  .deal-media img {
    transition: none;
  }
  .hero-media img,
  .hero .eyebrow,
  .hero-title .d-block,
  .hero-sub,
  .hero-ctas .btn,
  .page-hero-content .eyebrow,
  .page-hero-content h1,
  .page-hero-content p {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 1199.98px) {
  .site-nav .nav-auth {
    margin-left: 0;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line-dark);
  }
  .site-nav .nav-link {
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
  }
  .site-nav .nav-link.active::after {
    display: none;
  }
  .site-nav .nav-link.active {
    color: var(--coral);
  }
}

@media (max-width: 575.98px) {
  .member-card--featured {
    transform: none;
  }
  .benefit-row {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.4rem 1rem;
  }
  .benefit-num {
    font-size: 2rem;
  }
  .winner-tag {
    display: none;
  }
  .hero-ctas .btn-thc,
  .hero-ctas .btn-thc-ghost {
    width: 100%;
  }
}
