/* =========================================================================
   The Big Betty Night — landing page
   Figma: Lending page redesign / desktop 4444:170 · mobile 4497:23
   ========================================================================= */

:root {
  --bbn-black: #020202;
  --bbn-ink: #170e0e;
  --bbn-venue-bg: #070504;
  --bbn-panel: #100806;
  --bbn-performers-bg: #161311;
  --bbn-cta-bg: #0e0e0e;

  --bbn-cream: #e8ddc8;
  --bbn-cream-soft: #e9e1dd;
  --bbn-logo: #f6e6cf;
  --bbn-gold: #c4a16a;
  --bbn-gold-light: #e6c187;
  --bbn-rose: #e2bebc;

  --bbn-muted: rgba(255, 255, 255, 0.6);
  --bbn-muted-warm: rgba(242, 238, 232, 0.6);
  --bbn-rule: #312121;
  --bbn-hairline: rgba(255, 255, 255, 0.05);

  --bbn-gold-grad: linear-gradient(104.35deg, #d9b987 4.75%, #b38d50 95.57%);
  --bbn-curve: var(--bbn-ink);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-num: "DM Serif Text", Georgia, serif;
  /* Mackay (Figma) is a licensed face — Playfair Display is the closest match */
  --f-timer: "Playfair Display", Didot, "Times New Roman", serif;
  --f-label: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------- base ---------------------------------- */

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

.bbn {
  margin: 0;
  padding: 0;
  background: var(--bbn-black);
  color: var(--bbn-cream);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* :where() keeps the reset at zero specificity so component rules — margins on
   .bbn-venue__text, `margin: 0 auto` on .bbn-cards — are not overridden by it. */
.bbn :where(h1, h2, p, ul) {
  margin: 0;
  padding: 0;
}

.bbn :where(ul) {
  list-style: none;
}

.bbn img {
  display: block;
  max-width: 100%;
}

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

/* ------------------------------ buttons -------------------------------- */

.bbn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.48px;
  line-height: 1;
  cursor: pointer;
  transition:
    filter 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.bbn-btn--gold {
  background-image: var(--bbn-gold-grad);
  border: 1px solid var(--bbn-gold);
  color: #161d14;
}

.bbn-btn--gold:hover {
  filter: brightness(1.08);
}

.bbn-btn--outline {
  border: 1px solid var(--bbn-gold);
  background: transparent;
  color: var(--bbn-gold);
}

.bbn-btn--outline:hover {
  background: var(--bbn-gold);
  color: #161d14;
}

.bbn-btn--lg {
  width: min(27.5vw, 440px);
  height: min(3.86vw, 62px);
  font-size: clamp(11px, 1.03vw, 15px);
}

.bbn-btn--block {
  width: 100%;
  max-width: 448px;
  padding: 20px 48px;
  font-size: 15px;
  letter-spacing: 1.2px;
  color: #000;
}

/* ------------------------------- header -------------------------------- */

.bbn-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(20px, 2.2vw, 32px);
}

.bbn-header__logo img {
  width: 69px;
  height: auto;
}

.bbn-header__cta {
  width: 134px;
  height: 38px;
  font-size: 13px;
}

/* ================================ HERO ================================== */

/* The hero scales strictly with the viewport width so the photo frame keeps the
   884:756 proportions Figma stretches the photo into. */
.bbn-hero {
  position: relative;
  height: min(47.2vw, 900px);
  background: var(--bbn-black);
  overflow: hidden;
}

/* Figma places the photo in an 884x756 frame at (614, -130) and stretches it to
   fit — the whole scene is shown, the frame just bleeds past the hero's edges. */
.bbn-hero__media {
  position: absolute;
  top: 0;
  left: 42.26%;
  width: 57.84%;
  height: 92%;
}

.bbn-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.bbn-hero__media-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bbn-black) 0%, rgba(2, 2, 2, 0) 19%),
    linear-gradient(to left, var(--bbn-black) 0%, rgba(2, 2, 2, 0) 15%);
}

.bbn-hero__inner {
  position: absolute;
  top: 23.7%;
  left: 10.9%;
  z-index: 3;
}

.bbn-hero__title img {
  width: min(31.4vw, 520px);
  height: auto;
}

.bbn-hero__cta {
  margin-top: clamp(24px, 2.75vw, 48px);
  margin-left: 1px;
}

.bbn-hero__scroll {
  position: absolute;
  bottom: 14%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #a89a88;
  transform: translateX(-50%);
}

.bbn-hero__scroll img {
  width: 16px;
  height: 16px;
}

/* curved transition into the next section */
.bbn-curve {
  position: absolute;
  left: -50.6%;
  top: 75%;
  z-index: 2;
  width: 201.2%;
  height: 168.8%;
  pointer-events: none;
}

.bbn-curve path {
  fill: var(--bbn-curve);
}

/* ============================= COUNTDOWN ================================ */

.bbn-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 55px 20px 60px;
  background: var(--bbn-ink);
  text-align: center;
}

.bbn-countdown__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1010px;
}

.bbn-countdown__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(34px, 4.13vw, 60px);
  line-height: 0.95;
  color: var(--bbn-cream);
  text-transform: capitalize;
}

.bbn-br {
  display: inline;
}

.bbn-countdown__text {
  max-width: 858px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bbn-muted);
}

.bbn-countdown__rule {
  width: 100%;
  max-width: 898px;
  height: 1px;
  background: var(--bbn-rule);
}

/* timer — one evenly tracked line of digits, labels centred over each pair */
.bbn-timer {
  --tick: clamp(4px, 1.55vw, 22.5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 972px;
}

.bbn-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.bbn-timer__label {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 12.6px;
  line-height: 19px;
  color: var(--bbn-cream);
  text-transform: capitalize;
}

.bbn-timer__value,
.bbn-timer__sep {
  font-family: var(--f-timer);
  font-weight: 700;
  font-size: clamp(56px, 10.66vw, 155px);
  line-height: 1.01;
  background-image: linear-gradient(102.53deg, #d9b987 4.75%, #b38d50 95.57%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Playfair defaults to old-style figures, which drop below the baseline and
     get sliced off by background-clip. The design uses lining figures. */
  font-variant-numeric: lining-nums tabular-nums;
  /* headroom so background-clip never crops a glyph; margin keeps the layout */
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.bbn-timer__value {
  letter-spacing: var(--tick);
  /* the track after the last glyph is dead space — pull it back */
  margin-right: calc(-1 * var(--tick));
}

.bbn-timer__sep {
  align-self: flex-end;
  margin: 0 var(--tick);
}

/* =============================== VENUE ================================== */

.bbn-venue {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--bbn-venue-bg);
}

.bbn-venue__media {
  flex: 0 0 50.65%;
  min-height: 760px;
  overflow: hidden;
}

.bbn-venue__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
}

.bbn-venue__panel {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--bbn-panel);
  border-left: 1px solid rgba(196, 161, 106, 0.18);
  padding: 149px clamp(32px, 4vw, 60px) 60px clamp(32px, 4.75vw, 69px);
}

.bbn-venue__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 67px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--bbn-cream);
  text-transform: uppercase;
}

.bbn-venue__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(17px, 1.66vw, 24px);
  line-height: 1;
  color: var(--bbn-gold);
}

.bbn-venue__meta-sep {
  width: 1.34px;
  height: 1.15em;
  background: var(--bbn-gold);
}

.bbn-venue__text {
  max-width: 609px;
  margin-top: 30px;
  font-size: clamp(14px, 1.24vw, 18px);
  line-height: 1.6;
  color: var(--bbn-muted-warm);
}

.bbn-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 609px;
  margin-top: 27px;
}

.bbn-features__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.bbn-features__num {
  flex: 0 0 auto;
  font-family: var(--f-num);
  font-size: 20px;
  line-height: 1.35;
  color: var(--bbn-gold);
}

.bbn-features__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bbn-features__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--bbn-cream);
  text-transform: uppercase;
}

.bbn-features__text {
  max-width: 345px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--bbn-muted-warm);
}

/* ============================= PERFORMERS =============================== */

.bbn-performers {
  position: relative;
  padding: 95px clamp(20px, 4.4vw, 64px) 128px;
  background:
    linear-gradient(
      to bottom,
      var(--bbn-performers-bg) 0%,
      rgba(45, 41, 39, 0.3) 50%,
      var(--bbn-performers-bg) 100%
    ),
    var(--bbn-performers-bg);
}

.bbn-performers__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 1072px;
  margin: 0 auto 64px;
  text-align: center;
}

.bbn-eyebrow {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--bbn-gold-light);
}

.bbn-performers__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4.94vw, 72px);
  line-height: 0.95;
  color: var(--bbn-cream);
}

.bbn-cards {
  display: flex;
  gap: 8px;
  max-width: 1072px;
  margin: 0 auto;
}

.bbn-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(420px, 41.3vw, 600px);
  overflow: hidden;
  cursor: pointer;
}

.bbn-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.35s ease;
}

/* Each card in Figma crops its photo differently. `scale` sets how far in the
   crop goes, `transform-origin` the point of the photo it centres on. */
.bbn-card:nth-child(1) .bbn-card__img {
  transform: scale(1.25);
  transform-origin: 52% 50%;
}

.bbn-card:nth-child(2) .bbn-card__img {
  transform: scale(1.25);
  transform-origin: 50% 60%;
}

.bbn-card:nth-child(3) .bbn-card__img {
  transform: scale(1.04);
  transform-origin: 50% 50%;
}

.bbn-card:nth-child(4) .bbn-card__img {
  transform: scale(1.22);
  transform-origin: 46% 44%;
}

.bbn-card::after {
  content: "";
  position: absolute;
  inset: 1px 0 0 0;
  background: linear-gradient(
    to top,
    #110e0c 0%,
    rgba(17, 14, 12, 0.4) 50%,
    rgba(17, 14, 12, 0) 100%
  );
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* hover lifts the photo out of the shadow a little — brighter image, lighter
   scrim. Scoped to real pointers so it does not stick after a tap. */
@media (hover: hover) {
  .bbn-card:hover .bbn-card__img {
    filter: grayscale(1) brightness(1.22);
  }

  .bbn-card:hover::after {
    opacity: 0.62;
  }
}

.bbn-card__body {
  position: absolute;
  left: 19px;
  right: 19px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bbn-card__label {
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bbn-gold-light);
}

.bbn-card__title {
  font-family: var(--f-ui);
  font-weight: 300;
  font-size: clamp(15px, 1.53vw, 22px);
  line-height: 1.33;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bbn-cream-soft);
}

.bbn-performers__cta {
  display: none;
}

/* ================================ CTA =================================== */

.bbn-cta {
  position: relative;
  padding: 107px 20px 86px;
  background: var(--bbn-cta-bg);
  border-top: 1px solid var(--bbn-hairline);
  overflow: hidden;
}

.bbn-cta__bg {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.bbn-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.bbn-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: 576px;
  margin: 0 auto;
  text-align: center;
}

.bbn-cta__title img {
  width: clamp(240px, 26vw, 378px);
  height: auto;
}

.bbn-cta__text {
  font-family: var(--f-ui);
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.18px;
  color: var(--bbn-rose);
}

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

.bbn-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 113px;
  padding: 20px clamp(20px, 3.2vw, 46px);
  background: var(--bbn-cta-bg);
  border-top: 1px solid var(--bbn-hairline);
}

.bbn-footer__logo img {
  width: 83px;
  height: auto;
}

.bbn-footer__note {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--bbn-logo);
}

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

@media (max-width: 1100px) {
  .bbn-venue__media {
    min-height: 620px;
  }

  .bbn-venue__panel {
    padding-top: 80px;
  }
}

/* ============================== MOBILE ================================== */

@media (max-width: 900px) {
  /* ---- header ---- */
  .bbn-header {
    padding: 13px;
  }

  .bbn-header__logo img {
    width: 60px;
  }

  .bbn-header__cta {
    width: 102px;
    height: 30px;
    font-size: 13px;
  }

  /* ---- hero ---- */
  .bbn {
    --bbn-curve: var(--bbn-black);
  }

  .bbn-hero {
    height: min(177vw, 720px);
  }

  /* On mobile the photo is a band across the top, reaching just past the curve.
     aspect-ratio locks it to the file's own proportions, so the crop matches the
     mobile design without the horizontal squeeze the Figma frame applies. */
  .bbn-hero__media {
    top: -7.85%;
    left: 50%;
    width: max(100%, min(169.4%, 700px));
    height: auto;
    aspect-ratio: 610 / 455;
    transform: translateX(-50%);
  }

  /* the scrim behind the logo sits at the hero's top edge, not the frame's */
  .bbn-hero__media-fade {
    top: 11%;
    height: 17%;
    background: linear-gradient(
      to bottom,
      rgba(13, 4, 4, 0.85) 0%,
      rgba(13, 4, 4, 0) 100%
    );
  }

  .bbn-curve {
    left: 50%;
    top: 53.1%;
    width: 319.4%;
    height: 96.7%;
    transform: translateX(-50%);
  }

  .bbn-hero__inner {
    top: auto;
    bottom: 5.2%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
  }

  .bbn-hero__title img {
    width: min(288px, 80vw);
  }

  .bbn-hero__cta {
    width: min(290px, 82vw);
    height: 50px;
    margin: 30px 0 0;
    font-size: 15px;
  }

  .bbn-hero__scroll {
    display: none;
  }

  /* ---- countdown ---- */
  .bbn-countdown {
    gap: 30px;
    padding: 35px 13px 40px;
  }

  .bbn-countdown__title {
    max-width: 280px;
    font-size: 28px;
    line-height: 1.2;
  }

  .bbn-br::after {
    content: "\A";
    white-space: pre;
  }

  .bbn-countdown__text {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.5;
  }

  .bbn-countdown__intro {
    gap: 13px;
  }

  .bbn-timer {
    --tick: clamp(3px, 2.2vw, 8px);
    max-width: 340px;
  }

  .bbn-timer__unit {
    gap: 9px;
  }

  .bbn-timer__label {
    font-size: 12px;
    line-height: 14px;
  }

  .bbn-timer__value,
  .bbn-timer__sep {
    font-size: clamp(38px, 15.5vw, 56px);
  }

  /* ---- venue ---- */
  .bbn-venue {
    display: block;
    background: var(--bbn-panel);
  }

  .bbn-venue__media {
    min-height: 0;
    height: 391px;
  }

  .bbn-venue__media img {
    object-position: center 65%;
  }

  .bbn-venue__panel {
    border-left: 0;
    padding: 30px 12px 40px;
  }

  .bbn-venue__title {
    font-size: 42px;
  }

  .bbn-venue__meta {
    gap: 9px;
    margin-top: 10px;
    font-size: 18px;
  }

  /* the time already leads feature 01 — drop it here so the line never wraps */
  .bbn-venue__meta-time {
    display: none;
  }

  .bbn-venue__text {
    margin-top: 26px;
    font-size: 13px;
  }

  .bbn-features {
    gap: 16px;
    margin-top: 26px;
  }

  .bbn-features__row {
    gap: 12px;
  }

  .bbn-features__num {
    font-size: 16px;
  }

  .bbn-features__title {
    font-size: 14px;
  }

  .bbn-features__text {
    max-width: none;
  }

  /* ---- performers ---- */
  .bbn-performers {
    padding: 35px 17px 45px;
  }

  .bbn-performers__head {
    gap: 10px;
    margin-bottom: 26px;
  }

  .bbn-eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .bbn-performers__title {
    font-size: clamp(32px, 11.5vw, 42px);
  }

  .bbn-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 322px;
  }

  .bbn-card {
    height: 302px;
  }

  .bbn-card__body {
    left: 12px;
    right: 6px;
    bottom: 14px;
    gap: 4px;
  }

  .bbn-card__label {
    font-size: 12px;
    letter-spacing: 0.61px;
  }

  .bbn-card__title {
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.29px;
  }

  .bbn-performers__cta {
    display: flex;
    width: min(298px, 88vw);
    height: 56px;
    margin: 34px auto 0;
    font-size: 15px;
  }

  /* ---- cta ---- */
  .bbn-cta {
    padding: 89px 24px 139px;
  }

  .bbn-cta__bg img {
    object-fit: cover;
    object-position: center;
  }

  .bbn-cta__inner {
    gap: 22px;
  }

  .bbn-cta__title img {
    width: min(290px, 82vw);
  }

  .bbn-cta__text {
    max-width: 300px;
    font-size: 14px;
    line-height: 20px;
  }

  .bbn-btn--block {
    max-width: 282px;
    padding: 20px 24px;
    font-size: 12px;
  }

  /* ---- footer ---- */
  .bbn-footer {
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    min-height: 192px;
    padding: 41px 20px;
  }

  .bbn-footer__logo img {
    width: 105px;
  }

  .bbn-footer__note {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbn * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
