/*
 * Atlas is a campaign-style page rather than a standard content article.
 * These selectors remove the Citation theme's automatic breadcrumb/title
 * block only when this component is present on the page.
 */
body:has(#atlas-teaser) main .breadcrumbs,
body:has(#atlas-teaser) main .breadcrumb,
body:has(#atlas-teaser) main .page-breadcrumbs,
body:has(#atlas-teaser) main .entry-header,
body:has(#atlas-teaser) main .page-header,
body:has(#atlas-teaser) main > h1,
body:has(#atlas-teaser) main > .container > h1 {
  display: none !important;
}

body:has(#atlas-teaser) main,
body:has(#atlas-teaser) main .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#atlas-teaser {
    --atlas-ink: #252329;
    --atlas-plum: #4b286d;
    --atlas-plum-dark: #29123e;
    --atlas-pink: #ed0878;
    --atlas-coral: #f15a3c;
    --atlas-orange: #ff9c32;
    --atlas-peach: #fff1e8;
    --atlas-lilac: #f7f4f7;
    --atlas-muted: #655f68;
    --atlas-border: #e9e3e8;
    --atlas-heading: var(--atlas-orange);
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* clip, not hidden: hidden creates a scroll container and kills position:sticky */
    overflow: clip;
    background: #fff;
    color: var(--atlas-ink);
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    isolation: isolate;
  }

  #atlas-teaser, #atlas-teaser * { box-sizing: border-box; }
  #atlas-teaser img, #atlas-teaser video { display: block; max-width: 100%; }
  #atlas-teaser h1, #atlas-teaser h2, #atlas-teaser h3, #atlas-teaser p, #atlas-teaser figure { margin-top: 0; }
  /* form controls and buttons don't inherit font-family by default */
  #atlas-teaser input, #atlas-teaser button, #atlas-teaser select, #atlas-teaser textarea { font-family: inherit; }

  #atlas-teaser .atlas-reveal h2, #atlas-teaser .atlas-signals h2, #atlas-teaser .atlas-register h2 { color: transparent; background: linear-gradient(110deg, #ed0077, #f43b49 48%, #ff9700); margin-bottom: 0; font-size: 38px; font-weight: 750; line-height: 1.08; letter-spacing: 0em; -webkit-background-clip: text; -webkit-text-fill-color: transparent;     padding-bottom: 10px; }


  #atlas-teaser .atlas-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 27px;
    border: 0;
    border-radius: 50px;
    background: var(--atlas-pink);
    box-shadow: 0 12px 28px rgba(229, 0, 125, .2);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
  }
  #atlas-teaser .atlas-button:hover { background: #c8006e; color: #fff; transform: translateY(-1px); }

  /* ---- Shared gradient band -------------------------------------------
     Wraps .atlas-reveal + .atlas-signals so one gradient runs across both
     with no seam. The sections themselves go transparent. Band ends on
     --atlas-lilac, which is where .atlas-hero's peach settles, so the
     hero-to-band boundary is invisible too. */
  #atlas-teaser .atlas-band {
    background: linear-gradient(180deg, var(--atlas-peach) 0%, #fdf7fa 42%, var(--atlas-lilac) 100%);
  }
  #atlas-teaser .atlas-band .atlas-reveal,
  #atlas-teaser .atlas-band .atlas-signals { background: transparent; }

  #atlas-teaser .atlas-hero {
    min-height: 650px;
    padding: 88px max(24px, calc((100vw - 1220px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(38px, 5vw, 72px);
    background: radial-gradient(circle at 92% 8%, rgba(255,156,50,.34), transparent 27%), radial-gradient(circle at 72% 95%, rgba(237,8,120,.20), transparent 34%), linear-gradient(128deg, #fff 8%, var(--atlas-peach) 100%);
  }
  #atlas-teaser .atlas-hero__content { width: 100%; max-width: 650px; min-width: 0; }
  #atlas-teaser .atlas-logo { width: 142px; height: auto; margin-bottom: 30px; }
  #atlas-teaser .atlas-badge { display:none !important; width: fit-content; margin-bottom: 24px; padding: 0; display: flex; align-items: center; gap: 9px; background: transparent; color: var(--atlas-ink); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
  #atlas-teaser .atlas-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--atlas-pink); }
  #atlas-teaser .atlas-hero h1 { max-width: 650px; margin-bottom: 26px; font-size: 48px; font-weight: 750; line-height: 1.02; letter-spacing: 0em; }
  #atlas-teaser .atlas-lead { max-width: 640px; margin-bottom: 125px; color: var(--atlas-muted); font-size: 18px; line-height: 1.55; }
  #atlas-teaser .atlas-hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  #atlas-teaser .atlas-hero__actions > small { max-width: 220px; color: var(--atlas-muted); font-size: 12px; line-height: 1.5; }

  #atlas-teaser .atlas-film {
    width: 100%;
    max-width: 560px;
    height: 100%;
    aspect-ratio: 4 / 3;
    min-width: 0;
    min-height: 0;
    position: relative;
    justify-self: end;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--atlas-plum-dark), var(--atlas-pink) 58%, var(--atlas-orange));
    box-shadow: 0 24px 60px rgba(65,25,85,.22);
  }
  #atlas-teaser .atlas-film video {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    position: absolute !important;
    inset: 0 !important;
    object-fit: cover !important;
    background: transparent !important;
  }
  #atlas-teaser .atlas-film__label { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 11px; padding: 10px 15px 10px 11px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 12px 26px rgba(30,10,40,.2); }
  #atlas-teaser .atlas-film__label i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--atlas-pink); color: #fff; font-size: 9px; font-style: normal; }
  #atlas-teaser .atlas-film__label > span { display: flex; flex-direction: column; line-height: 1.2; }
  #atlas-teaser .atlas-film__label strong { color: var(--atlas-plum); font-size: 12px; }
  #atlas-teaser .atlas-film__label small { margin-top: 2px; color: var(--atlas-muted); font-size: 9px; }

  #atlas-teaser .atlas-reveal { padding: 112px max(24px, calc((100vw - 1220px) / 2)) 120px; text-align: center; }
  #atlas-teaser .atlas-eyebrow { margin-bottom: 12px; color: var(--atlas-pink); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
  #atlas-teaser .atlas-reveal h2, #atlas-teaser .atlas-signals h2, #atlas-teaser .atlas-register h2 { margin-bottom: 0; font-size: 38px; font-weight: 750; line-height: 1.08; letter-spacing: 0em; padding-bottom: 10px; }
  #atlas-teaser .atlas-intro { max-width: 720px; margin: 19px auto 38px; color: var(--atlas-muted); font-size: 17px; line-height: 1.65; }
  #atlas-teaser .atlas-dashboard-switcher { max-width: 1180px; margin: 0 auto; }
  #atlas-teaser .atlas-dashboard-tabs { width: fit-content; max-width: 100%; margin: 20px auto 18px; padding: 5px; display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; border-radius: 999px; background: rgba(255,255,255,.72); }
  #atlas-teaser .atlas-dashboard-tabs button { min-width: 150px; padding: 11px 18px; border: 0; border-radius: 999px; appearance: none; background: transparent; color: var(--atlas-muted); font: inherit; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
  #atlas-teaser .atlas-dashboard-tabs button[aria-selected="true"] { background: #fff; color: var(--atlas-plum); box-shadow: 0 6px 18px rgba(60,25,80,.1); }
  #atlas-teaser .atlas-dashboard-tabs button:focus-visible { outline: 3px solid rgba(237,8,120,.28); outline-offset: 2px; }
  #atlas-teaser .atlas-dashboard { display: none; margin: 0; overflow: hidden; border: 1px solid var(--atlas-border); border-radius: 20px; background: #f6f6f8; box-shadow: 0 22px 55px rgba(45,35,47,.13); }
  #atlas-teaser .atlas-dashboard img { width: 100%; height: auto; }
  #atlas-teaser .atlas-dashboard.is-active { display: block; }

  /* ---- Sticky scrolly reveal -------------------------------------------
     Track is taller than the viewport; the sticky child pins inside it while
     you scroll. --atlas-panel-count is set inline by the PHP partial.
     --atlas-panel-scroll is how much scrolling each panel gets. */
  #atlas-teaser .atlas-scrolly {
    --atlas-panel-scroll: 85vh;
    position: relative;
    height: calc(var(--atlas-panel-count, 2) * var(--atlas-panel-scroll) + 15vh);
  }
  #atlas-teaser .atlas-scrolly__sticky {
    position: sticky;
    top: 7vh;
    height: 86vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  #atlas-teaser .atlas-scrolly__stage { position: relative; flex: 1; min-height: 0; }
  #atlas-teaser .atlas-scrolly .atlas-dashboard,
  #atlas-teaser .atlas-scrolly .atlas-dashboard[hidden] {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transform: translateY(20px) scale(.985);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
  }
  #atlas-teaser .atlas-scrolly .atlas-dashboard.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  #atlas-teaser .atlas-scrolly .atlas-dashboard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #atlas-teaser .atlas-signals { padding: 104px max(24px, calc((100vw - 1220px) / 2)); }
  #atlas-teaser .atlas-signals__heading { max-width: 620px; margin-bottom: 40px; }
  #atlas-teaser .atlas-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  #atlas-teaser .atlas-card { min-height: 310px; padding: 34px; border: 1px solid rgba(37,35,41,.07); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(45,35,47,.06); }
  #atlas-teaser .atlas-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, var(--atlas-pink), var(--atlas-orange)); color: #fff; font-size: 23px; }
  #atlas-teaser .atlas-card__icon img { width: 40px; height: 40px; object-fit: contain; }
  #atlas-teaser .atlas-card > p { margin: 26px 0 7px; color: var(--atlas-pink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  #atlas-teaser .atlas-card h3 { margin-bottom: 14px; font-size: 25px; letter-spacing: 0em; }
  #atlas-teaser .atlas-card > span:last-child { color: var(--atlas-muted); font-size: 15px; line-height: 1.7; }
  #atlas-teaser .atlas-phase-note { margin: 23px 0 0; color: var(--atlas-muted); font-size: 12px; }

  #atlas-teaser .atlas-register { padding: 110px max(24px, calc((100vw - 1220px) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px, 8vw, 120px); background: radial-gradient(circle at 4% 15%, rgba(237,8,120,.42), transparent 17%), radial-gradient(circle at 35% 100%, rgba(255,156,50,.18), transparent 33%), #28242d; color: #fff; }
  #atlas-teaser .atlas-register .atlas-eyebrow { color: #ff88c5; }
  #atlas-teaser .atlas-register__content > p:not(.atlas-eyebrow) { max-width: 520px; margin: 24px 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
  #atlas-teaser .atlas-register ul { margin: 30px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
  #atlas-teaser .atlas-register li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.92); }
  #atlas-teaser .atlas-register li span { color: #ff83c5; font-weight: 700; }
  #atlas-teaser .atlas-form-card { padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: #fff; color: var(--atlas-ink); box-shadow: 0 32px 80px rgba(20,4,35,.3); }
  #atlas-teaser .atlas-form-card form { display: grid; gap: 17px; }
  #atlas-teaser .atlas-form__heading p { margin-bottom: 4px; color: var(--atlas-pink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  #atlas-teaser .atlas-form__heading h3 { margin-bottom: 8px; font-size: 29px; letter-spacing: 0em; }
  #atlas-teaser .atlas-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  #atlas-teaser .atlas-form-card label { display: grid; gap: 7px; color: #4f4555; font-size: 12px; font-weight: 700; }
  #atlas-teaser .atlas-form-card label em { color: var(--atlas-muted); font-style: normal; font-weight: 400; }
  #atlas-teaser .atlas-form-card input:not([type="checkbox"]) { width: 100%; height: 49px; padding: 0 13px; border: 1px solid #d8d1d7; border-radius: 6px; outline: 0; background: #fff; color: var(--atlas-ink); }
  #atlas-teaser .atlas-form-card input:not([type="checkbox"]):focus { border-color: var(--atlas-pink); box-shadow: 0 0 0 3px rgba(229,0,125,.1); }
  #atlas-teaser .atlas-consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px; line-height: 1.5; font-weight: 400; }
  #atlas-teaser .atlas-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--atlas-pink); }
  #atlas-teaser .atlas-submit { width: 100%; }
  #atlas-teaser .atlas-form-card form > small { color: #8c818f; line-height: 1.5; }

  @media (max-width: 960px) {
    #atlas-teaser .atlas-hero { grid-template-columns: 1fr; padding-top: 60px; }
    #atlas-teaser .atlas-hero__content { max-width: 760px; }
    #atlas-teaser .atlas-film { width: min(100%, 620px); max-width: 620px; justify-self: center; }
    #atlas-teaser .atlas-card-grid { grid-template-columns: 1fr; }
    #atlas-teaser .atlas-card { min-height: 0; }
    #atlas-teaser .atlas-register { grid-template-columns: 1fr; }
  }

  @media (max-width: 640px) {
    #atlas-teaser .atlas-hero { min-height: auto; padding: 54px 20px 62px; gap: 38px; }
    #atlas-teaser .atlas-logo { width: 120px; }
    #atlas-teaser .atlas-hero h1 { font-size: 40px; }
    #atlas-teaser .atlas-lead { margin-bottom: 44px; font-size: 17px; }
    #atlas-teaser .atlas-hero__actions { align-items: flex-start; flex-direction: column; }
    #atlas-teaser .atlas-film { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; border-radius: 20px; }
    #atlas-teaser .atlas-reveal, #atlas-teaser .atlas-signals, #atlas-teaser .atlas-register { padding: 72px 20px; }
    #atlas-teaser .atlas-reveal h2, #atlas-teaser .atlas-signals h2, #atlas-teaser .atlas-register h2 { font-size: 30px; }
    #atlas-teaser .atlas-dashboard-tabs { width: 100%; }
    #atlas-teaser .atlas-dashboard-tabs button { min-width: 0; flex: 1; padding-inline: 10px; font-size: 12px; }
    #atlas-teaser .atlas-dashboard { border-radius: 15px; }
    #atlas-teaser .atlas-card { padding: 27px; }
    #atlas-teaser .atlas-form-card { padding: 25px 20px; }
    #atlas-teaser .atlas-field-row { grid-template-columns: 1fr; }
  }

  /* Scrolly off: fall back to plain tabs. Must come after the scrolly block. */
  @media (max-width: 960px) {
    #atlas-teaser .atlas-scrolly { height: auto; }
    #atlas-teaser .atlas-scrolly__sticky { position: static; height: auto; }
    #atlas-teaser .atlas-scrolly__stage { min-height: 0; }
    #atlas-teaser .atlas-scrolly .atlas-dashboard { position: static; display: none; opacity: 1; transform: none; pointer-events: auto; }
    #atlas-teaser .atlas-scrolly .atlas-dashboard.is-active { display: block; }
    #atlas-teaser .atlas-scrolly .atlas-dashboard img { height: auto; object-fit: fill; }
  }

  @media (prefers-reduced-motion: reduce) {
    #atlas-teaser, #atlas-teaser * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    #atlas-teaser .atlas-scrolly { height: auto; }
    #atlas-teaser .atlas-scrolly__sticky { position: static; height: auto; }
    #atlas-teaser .atlas-scrolly .atlas-dashboard { position: static; display: none; opacity: 1; transform: none; pointer-events: auto; }
    #atlas-teaser .atlas-scrolly .atlas-dashboard.is-active { display: block; }
    #atlas-teaser .atlas-scrolly .atlas-dashboard img { height: auto; object-fit: fill; }
  }

body:has(#atlas-teaser) .cit-breadcrumb {
	display: none;
}

body:has(#atlas-teaser) .site-main__heading {
	display: none;
}

body:has(#atlas-teaser) main .section-gap {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#atlas-teaser .launch-label {
	display: none;
}

#atlas-teaser .atlas-band {
  background: linear-gradient(180deg, #fff 0%, var(--atlas-lilac) 45%, var(--atlas-peach) 100%);
  background: radial-gradient(circle at 92% 8%, rgba(255,156,50,.34), transparent 27%), radial-gradient(circle at 72% 20%, rgba(237,8,120,.20), transparent 34%), linear-gradient(165deg, #fff 8%, var(--atlas-peach) 100%);
}

#atlas-teaser .atlas-hero,
#atlas-teaser .atlas-reveal,
#atlas-teaser .atlas-signals { background: transparent; }