/*
 * October 2026 "Ghost your tattoo." promo. Enqueued only while the campaign is
 * live (or previewed) — see functions/october-promo.php. Values follow Figma
 * file 1WH53rYB4JFJywzdlWR5QF ("Location page | As Is Flow").
 */

.october-promo-hero,
.october-promo-banner,
.october-promo-terms {
  --op-teal: #009da3;
  --op-mint: #99d8da;
  --op-orange: #f98140;
  --op-cream: #f9f5f2;
  --op-ink: #180c04;
  --op-deep: #04181a;
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.october-promo-hero p,
.october-promo-banner p,
.october-promo-terms p,
.october-promo-hero h2,
.october-promo-terms h2,
.october-promo-hero dl,
.october-promo-hero dd {
  margin: 0;
}

/* ---------- Homepage hero ---------- */

.october-promo-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 36.4vw, 700px);
  margin-top: 60px; /* clears the fixed header, like the hero it replaces */
  overflow: hidden;
  background: #0b2a35;
  color: #fff;
}

.october-promo-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.october-promo-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px 48px max(24px, 11.2vw);
}

.october-promo-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 470px;
}

.october-promo-hero__eyebrow {
  color: var(--op-mint);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.56px;
  line-height: normal;
}

/* The page's primary H1, kept for search engines and screen readers. */
.october-promo-hero__h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.october-promo-hero__heading {
  color: var(--op-cream);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: 0;
  text-transform: none;
}

.october-promo-hero__accent {
  display: block;
  color: var(--op-mint);
}

.october-promo-hero__lede {
  max-width: 300px;
  margin-top: -2px !important;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.october-promo-hero__offer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -6px !important;
  padding-left: 24px;
  border-left: 4px solid var(--op-orange);
  border-radius: 2px;
}

.october-promo-hero__amount {
  color: var(--op-orange);
  font-family: "ABC Social Extended", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.october-promo-hero__asterisk,
.october-promo-hero__asterisk:hover,
.october-promo-banner__asterisk,
.october-promo-banner__asterisk:hover {
  color: inherit;
  text-decoration: none;
}

.october-promo-hero__package {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.october-promo-hero__cta,
.october-promo-hero__cta:hover,
.october-promo-hero__cta:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 24px;
  border-radius: 8px;
  background: var(--op-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

.october-promo-hero__cta:hover {
  background: #008a90;
}

.october-promo-hero__stats {
  display: none;
}

@media (max-width: 767px) {
  .october-promo-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-top: 0;
    background: #0e1112;
  }

  .october-promo-hero__media {
    position: relative;
    display: block;
    height: 420px;
  }

  .october-promo-hero__media img {
    object-position: center top;
  }

  .october-promo-hero__media::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(4, 24, 26, 0), var(--op-deep));
  }

  .october-promo-hero__inner {
    padding: 0 20px 32px;
  }

  .october-promo-hero__copy {
    max-width: none;
    align-items: stretch;
  }

  .october-promo-hero__eyebrow {
    padding: 4px 0;
  }

  .october-promo-hero__heading {
    font-size: 60px;
  }

  .october-promo-hero__lede {
    max-width: none;
    margin-top: 0 !important;
    color: var(--op-cream);
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
  }

  .october-promo-hero__offer {
    margin-top: 0 !important;
    padding-left: 14px;
    border-left-width: 3px;
    border-left-color: #d97706;
    border-radius: 0;
    gap: 0;
  }

  .october-promo-hero__amount {
    color: #d97706;
    font-size: 60px;
  }

  .october-promo-hero__package {
    color: var(--op-cream);
    font-weight: 700;
  }

  .october-promo-hero__cta {
    width: 100%;
  }

  .october-promo-hero__stats {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .october-promo-hero__stat {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    gap: 2px;
  }

  .october-promo-hero__stat dt {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.28px;
    line-height: normal;
  }

  .october-promo-hero__stat dd {
    color: var(--op-mint);
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
  }
}

/* ---------- Banner (Locations page + studio pages) ---------- */

.october-promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 26.2vw, 460px);
  overflow: hidden;
  background: #0b2a35;
  color: #fff;
}

.october-promo-banner--page-top {
  margin-top: 60px; /* clears the fixed header (body pads 55px under a 115px header) */
}

.october-promo-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 21%;
}

.october-promo-banner__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 40px 24px 40px max(24px, 6.95vw);
}

.october-promo-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
}

.october-promo-banner__eyebrow,
.october-promo-banner__dates {
  color: var(--op-mint);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.56px;
  line-height: normal;
}

.october-promo-banner__eyebrow-mobile {
  display: none;
}

.october-promo-banner__heading {
  color: var(--op-cream);
  font-size: 60px;
  font-weight: 700;
  line-height: normal;
}

.october-promo-banner__accent {
  color: var(--op-mint);
}

.october-promo-banner__lede {
  max-width: 497px;
  color: #e1f0f1;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.october-promo-banner__amount {
  color: var(--op-orange);
}

@media (max-width: 767px) {
  .october-promo-banner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin-top: 0; /* the mobile header is in the flow, not fixed */
    background: var(--op-deep);
  }

  .october-promo-banner__media {
    position: relative;
    display: block;
    height: 170px;
  }

  .october-promo-banner__media img {
    object-position: center;
  }

  .october-promo-banner__media::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -18px;
    left: 0;
    height: 66px;
    background: linear-gradient(to bottom, rgba(4, 24, 26, 0), var(--op-deep));
  }

  .october-promo-banner__inner {
    padding: 20px;
  }

  .october-promo-banner__copy {
    max-width: none;
  }

  .october-promo-banner__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
  }

  .october-promo-banner__eyebrow-desktop {
    display: none;
  }

  .october-promo-banner__eyebrow-mobile {
    display: inline;
  }

  .october-promo-banner__heading {
    font-family: "ABC Social Extended", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 36px;
    line-height: 40px;
  }

  .october-promo-banner__lede {
    max-width: none;
    color: #c3ccce;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }

  .october-promo-banner__dates {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 16px;
  }
}

/* ---------- Terms ---------- */

.october-promo-terms {
  position: relative;
  /* .site-footer is pulled up 50px (margin-top: -50px) over whatever precedes
     it, decorative squares included. Paint above it and pad the bottom by that
     much, so the overlap lands on our background and never on the text. */
  z-index: 1;
  background: #f9fafb;
  border-top: 1px solid #eae7dc;
  color: var(--op-ink);
  scroll-margin-top: 130px; /* the asterisk links land below the fixed header */
}

.october-promo-terms__inner {
  max-width: 1028px;
  margin: 0 auto;
  padding: 48px 24px 98px;
}

.october-promo-terms__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  border: 1px solid #eae7dc;
  border-left: 4px solid var(--op-orange);
  border-radius: 12px;
  background: #fff;
}

.october-promo-terms__eyebrow {
  color: #00777c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 16px;
  text-transform: uppercase;
}

.october-promo-terms__heading {
  color: var(--op-ink);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0;
  text-transform: none;
}

.october-promo-terms__text {
  margin-top: 4px !important;
  color: #4b4541;
  font-size: 13px;
  line-height: 21px;
  text-align: left;
}

@media (max-width: 767px) {
  .october-promo-terms {
    scroll-margin-top: 16px; /* the mobile header scrolls away */
  }

  .october-promo-terms__inner {
    padding: 32px 16px 82px;
  }

  .october-promo-terms__card {
    padding: 20px;
    border-radius: 10px;
  }

  .october-promo-terms__eyebrow {
    font-size: 11px;
  }

  .october-promo-terms__heading {
    font-size: 16px;
    line-height: 24px;
  }

  .october-promo-terms__text {
    font-size: 12px;
    line-height: 19px;
  }
}
