/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

#hero-229 {
  position: relative;
  z-index: 1;
  /* cs-picture handles its own clipping; section overflow: visible
     so the flex-group's rounded corners are never cut off          */
  overflow-x: clip;
  min-height: clamp(28rem, 85vh, 55rem);
  display: flex;
  align-items: center;
}

/* ── Background image ──────────────────────────────────
   Full width on mobile, constrained on desktop.
   No breakpoints — continuous fluid interpolation:
   · width:  min(100%, sectionContentWidth) naturally
             full-bleeds on small screens and narrows
             smoothly as the viewport grows.
   · radius: clamp from 0 (full-bleed) to --borderRadius0
             across the same viewport range.              */
#hero-229 .cs-picture {
  position: absolute;
  /*
   * top = nav height + a fluid gap that grows from 0 (full-bleed mobile)
   * to 1rem (desktop). The gap creates visible space below the nav so the
   * rounded top corners curve into the page background — mirroring how the
   * bottom corners curve into the section below.
   */
  top: calc(var(--navigationBarHeight) + clamp(0rem, calc((100vw - 29rem) / 15), 1rem));
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--sectionContentWidth));
  height: calc(100% - var(--navigationBarHeight) - clamp(0rem, calc((100vw - 29rem) / 15), 1rem));
  overflow: hidden;
  /* Radius: 0 at ≤29rem (full-bleed) → 1rem at ≥44rem (desktop) */
  border-radius: clamp(0rem, calc((100vw - 29rem) / 15), 1rem);
  z-index: 0;
}

/* Gradient overlay: subtle vignette for text contrast */
#hero-229 .cs-picture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0.10) 45%,
    rgba(0, 0, 0, 0.50) 100%
  );
  pointer-events: none;
}

#hero-229 .cs-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Content container ─────────────────────────────── */
#hero-229 .cs-container {
  width: 100%;
  padding-top: calc(var(--navigationBarHeight) + var(--margin0));
  padding-bottom: calc(var(--navigationBarHeight) + var(--margin0));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

#hero-229 .cs-flex-group {
  /* Inset margin so rounded corners are always visible within
     the image boundary — refined breathing room on all sides  */
  margin: clamp(1rem, 2.5vw, 1.75rem) auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  width: var(--width0);
  max-width: calc(var(--sectionContentWidth) - clamp(2rem, 5vw, 3.5rem));
  background-color: var(--dark-background-transparent);
  border-radius: var(--borderRadius0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  box-sizing: border-box;
}

/* ── Logo ──────────────────────────────────────────── */
#hero-229 .cs-logo {
  width: clamp(7.5rem, 20vw, 12.5rem);
  height: auto;
  margin: 0 auto clamp(1rem, 3vw, 2rem);
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ── Typography ────────────────────────────────────── */
#hero-229 .cs-topper {
  font-family: var(--font-family);
  font-size: var(--header2FontSize);
  line-height: 1.2em;
  text-align: center;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--primaryLight);
  margin-bottom: 1rem;
  display: block;
}

#hero-229 .cs-title {
  font-family: var(--font-family);
  font-size: var(--header2FontSize);
  font-weight: 500;
  line-height: 1.1em;
  letter-spacing: -0.025em;
  text-align: center;
  width: 100%;
  margin: 0 auto clamp(2rem, 4vw, 2.5rem) 0;
  color: var(--bodyTextColorWhite);
  position: relative;
}

#hero-229 .cs-text {
  font-family: var(--font-family);
  font-size: var(--font-size-large);
  font-weight: 400;
  line-height: 1.65em;
  letter-spacing: 0.01em;
  text-align: center;
  width: 100%;
  margin-bottom: clamp(2.5rem, 4vw, 3rem);
  color: var(--bodyTextColorWhite);
}

/* ── Buttons ───────────────────────────────────────── */
#hero-229 .cs-button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.3vw, 1.25rem);
}

#hero-229 .cs-button {
  min-width: 12.3125rem;
  border-radius: var(--borderRadius0);
  gap: 1rem;
}

#hero-229 .cs-button-solid {
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  height: 4rem;
  width: 15rem;
  line-height: clamp(2.875em, 5.5vw, 3.5em);
  text-align: center;
  text-decoration: none;
  align-content: center;
  margin: 0;
  box-sizing: border-box;
  padding: 1rem;
  background-color: var(--dark-background);
  overflow: hidden;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cs-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
  background: var(--dark-background);
}

#hero-229 .cs-img {
  margin-right: 0.75rem;
  align-content: center;
  background: var(--dark-background);
}

#hero-229 .cs-img--instagram {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  margin-right: 0.15rem;
}

/* ── Tablet: hide mobile-only buttons ─────────────── */
@media only screen and (min-width: 768px) {
  #hero-229 .cs-button-group .cs-button-solid {
    display: none;
  }
}
