/* ============================================================
   Mobile Overrides
   Responsive styles missing from the Webflow desktop-only export.
   Loaded after sheps-data.webflow.css to layer on mobile support.
   ============================================================ */

/* -----------------------------------------------------------
   Hamburger Icon (three-line to X morph)
   ----------------------------------------------------------- */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 20px;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000032;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line-top {
  top: 0;
}

.hamburger-line-mid {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line-btm {
  bottom: 0;
}

.hamburger-icon.is-open .hamburger-line-top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-icon.is-open .hamburger-line-mid {
  opacity: 0;
}

.hamburger-icon.is-open .hamburger-line-btm {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* -----------------------------------------------------------
   Nav layout wrapper (centers nav_container + anchors the
   mobile drawer to its edges)
   ----------------------------------------------------------- */
.nav_layout {
  position: relative;
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
}

/* -----------------------------------------------------------
   Mobile Menu Drawer
   A navy panel that slides down from the bottom edge of the
   floating navbar, matching its left/right edges, filling the
   rest of the viewport, with rounded bottom corners.
   ----------------------------------------------------------- */
.mobile-menu-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000032;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  overflow-y: auto;
  z-index: 99;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  padding: 1.75rem 2rem 2.5rem;
}

.mobile-menu-link {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.875rem 0;
  text-decoration: none;
  text-align: right;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #5aa3d2;
}

.mobile-menu-cta {
  margin-top: 1rem;
}

.nav_button.w-nav-button {
  background-color: transparent;
  color: #000032;
  position: relative;
  z-index: 101;
  cursor: pointer;
}

.nav_button.w-nav-button:focus {
  outline: 2px solid #5aa3d2;
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   Mobile Hero Graphic (two parallel tracks)
   Uses the same .horiz-line class as desktop so the spheres and
   gradients inherit identical styling. Margin/position is reset
   below to fit mobile viewport widths.
   ----------------------------------------------------------- */
.hero_graphic-mobile {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  padding: 3.5rem 0 6rem;
  position: relative;
  z-index: 2;
  overflow-x: clip;
  overflow-y: visible;
}

.hero_graphic-mobile-line {
  position: relative;
  inset: auto;
  width: 100%;
  height: 8px;
}

/* Re-center the sphere and gradient for mobile viewports
   (desktop uses a hardcoded 222px margin-left which pushes
   the sphere off-screen on narrower layouts). */
.hero_graphic-mobile-line .sphere_horiz {
  margin-left: 50%;
}

.hero_graphic-mobile-line .sphere_bg-gradient-horiz {
  margin-left: 50%;
}

/* -----------------------------------------------------------
   Small sphere styling (mobile hero tracks + capabilities track
   at narrower widths). Scales the sphere, glow, and trail down
   so they feel proportional to the smaller surrounding content.
   ----------------------------------------------------------- */
@media screen and (max-width: 1199px) {
  .hero_graphic-mobile-line,
  .cap_horiz-track {
    height: 8px;
  }

  .hero_graphic-mobile-line .sphere_horiz,
  .cap_horiz-track .sphere_horiz {
    width: 2rem;
    height: 2rem;
    margin-top: -1.2rem;
    box-shadow: 0 1px 28px 18px
      var(--sphere-glow, rgba(255, 255, 255, 0.4)) !important;
  }

  .hero_graphic-mobile-line .sphere_bg-gradient-horiz,
  .cap_horiz-track .sphere_bg-gradient-horiz {
    width: 240px;
  }
}

/* -----------------------------------------------------------
   Container & Overflow
   ----------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

.section_hero {
  overflow-x: clip;
}

/* Let the capabilities horizontal track sphere bleed above the 12px line */
.cap_horiz-track {
  overflow: visible !important;
}

/* Center the gold sphere and its gradient within the horizontal track
   so the scroll animation can translate it from the track's right edge
   (+50%) to its left edge (-50%) regardless of how wide the track is. */
.cap_horiz-track .sphere_horiz,
.cap_horiz-track .sphere_bg-gradient-horiz {
  margin-left: 50%;
}

/* Navigator section inline image (shown below 1450px as a regular image
   instead of the background image that fights with text at narrow widths).
   Wrapped in a cinematic-ratio frame with a bottom fade that blends into
   the white section background. */
.guide_image-frame {
  display: none;
  margin: 0;
  padding: 0;
}

/* -----------------------------------------------------------
   Contact Form (revealed by Let's Connect buttons)
   ----------------------------------------------------------- */
.section_contact {
  background-color: var(--base-color-neutral--white);
  color: var(--base-color-brand--unc-navy);
  position: relative;
  z-index: 6;
}

.contact_header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact_sub {
  color: var(--base-color-neutral--neutral);
  max-width: 32rem;
}

.contact_form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}

.contact_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact_field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact_field label {
  font-family: nexa, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--base-color-brand--unc-navy);
}

.contact_field input,
.contact_field select,
.contact_field textarea {
  font-family: nexa, sans-serif;
  font-size: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background-color: #fff;
  color: var(--base-color-brand--unc-navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact_field input:focus,
.contact_field select:focus,
.contact_field textarea:focus {
  outline: none;
  border-color: var(--base-color-brand--unc-blue);
  box-shadow: 0 0 0 3px rgba(90, 163, 210, 0.25);
}

.contact_field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact_submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  border: none;
  font-family: nexa, sans-serif;
  cursor: pointer;
}

.contact_submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact_error {
  color: #b8062a;
  font-size: 0.9375rem;
}

.contact_success {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (max-width: 767px) {
  .contact_row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact_submit {
    align-self: stretch;
  }
}

@media screen and (max-width: 1449px) {
  .section_guide {
    background-image: none !important;
  }

  .guide_image-frame {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    margin: 0 0 1.5rem;
    overflow: hidden;
    border-radius: 0.75rem;
  }

  .guide_inline-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* White-to-transparent gradient at the bottom of the image so it
     dissolves seamlessly into the white section background. */
  .guide_image-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    pointer-events: none;
    background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.55) 55%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

/* On small mobile, drop to 16:9 so the subject is still visible when cropped. */
@media screen and (max-width: 767px) {
  .guide_image-frame {
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
  }
}

/* Ensure nav stays above all content */
.nav_fixed {
  z-index: 100;
  position: fixed;
  inset: 0% 0% auto;
  pointer-events: none;
}

.nav_component {
  z-index: 100;
  pointer-events: auto;
}

/* ============================================================
   INTERMEDIATE / LAPTOP DESKTOP: 992px - 1599px
   At these widths the default flex layout of the logo bar
   overflows the container. Switch to a grid that squeezes all
   7 partner logos evenly into a single row without clipping.
   ============================================================ */
@media screen and (min-width: 992px) and (max-width: 1599px) {
  .div-block-6 {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 0;
    padding: 0 2.5rem 5rem;
    column-gap: 2rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }

  .div-block-6 .image {
    height: auto;
    max-height: 64px;
    max-width: 100%;
    width: 100%;
    object-fit: contain;
  }
}

/* ============================================================
   LAPTOP: max-width 1199px
   The desktop nav links get too cramped below this width, so
   switch to the hamburger menu slightly earlier than 991px.
   ============================================================ */
@media screen and (max-width: 1199px) {
  .mobile-menu-panel {
    display: block;
  }

  .nav_menu.w-nav-menu {
    display: none;
  }

  .nav_button.w-nav-button {
    display: flex !important;
  }

  .nav_logo {
    width: 16rem;
  }

  .container-large {
    width: 100%;
    max-width: 100%;
  }

}

/* -----------------------------------------------------------
   Capabilities section layout:
   - cap_container is full-width so the horizontal pathway can
     extend past container-large to the viewport's right edge.
   - cap_content is the flex child that holds padded text/card
     blocks + the horizontal track between them.
   - The sticky vertical track sits at the LEFT edge of the
     content column (same x-position it had in the Webflow
     design) and serves as the left endpoint / junction of the
     horizontal gold pathway.
   ----------------------------------------------------------- */
.section_capabilities {
  position: relative;
}

.cap_container {
  max-width: none !important;
  width: 100%;
  position: relative;
}

.cap_content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* Pull the sticky vertical track out of flex flow so it overlays the
   content column at its left edge. Aligns with the outer edge of
   container-large on widths above 1280px, and with padding-global
   (2.5rem) on narrower desktops. */
.cap_vertical-track {
  position: absolute !important;
  top: 0;
  bottom: 0;
  left: max(2.5rem, calc((100% - 80rem) / 2));
  width: 12px;
  z-index: 3;
  pointer-events: none;
}

/* Desktop: horizontal gold pathway STARTS at the vertical track's
   x-position (so the vertical track is its left endpoint / junction)
   and extends to the right viewport edge, fading to navy via its
   own background gradient. The content column inside cap_content
   also needs extra left padding so text doesn't run into the
   vertical track (which overlays the column's left edge). */
@media screen and (min-width: 992px) {
  .cap_horiz-track {
    margin-left: max(2.5rem, calc((100vw - 80rem) / 2)) !important;
    margin-right: 0 !important;
    width: auto !important;
  }

  .cap_content .container-large {
    padding-left: 5rem;
  }
}

/* Mobile / tablet: vertical track is hidden (layout stacks), so the
   horizontal pathway can go fully edge-to-edge. */
@media screen and (max-width: 991px) {
  .cap_vertical-track {
    display: none;
  }

  .cap_horiz-track {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 1629px) {
  .sidepages-fade {
    display: none;
  }
}

/* ============================================================
   TABLET: max-width 991px
   ============================================================ */
@media screen and (max-width: 991px) {

  /* -- Mobile menu + logo size handled by the 1100px query above -- */

  /* -- Hero section top padding -- */
  .section_hero {
    padding-top: 2rem;
  }

  /* -- Reduce huge spacer at top of hero -- */
  .spacer-huge {
    padding-top: 3rem;
  }

  /* -- Hero button stack -- */
  .content-row-lg {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .content-row-lg .button-new {
    width: 100%;
  }

  /* -- Hero headings -- */
  .hero_heading,
  .hero_heading.is-italic {
    font-size: 3.5rem;
  }

  .hero_heading.is-italic .italic-text {
    font-size: 4rem;
  }

  .hero2_heading,
  .hero2_heading.is-italic {
    font-size: 3.25rem;
  }

  .hero2_heading.is-italic .italic-text-2 {
    font-size: 3.5rem;
  }

  .is-color.is-large {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .text-size-large {
    font-size: 1.125rem;
  }

  /* -- Hero spacing around main content -- */
  .section_under-graphic {
    margin-top: 0;
  }

  /* -- Logo bar -- */
  .div-block-6 {
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2.5rem;
  }

  .div-block-6 .image {
    height: 48px;
  }

  /* -- Navigator section: softer background image on tablet -- */
  .section_guide {
    background-position: right -4rem top;
    background-size: auto 40%;
  }

  .guide_content-left {
    width: 100%;
  }

  .guide_content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .guide_logos-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    width: 100%;
  }

  .guide_logos-item {
    width: 100%;
  }

  /* -- Capabilities -- */
  .section_capabilities .div-block-11 {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  /* Vertical sphere track, container padding, and horiz track margins
     are handled by the shared <1630px rule above. */
  .cap_container {
    display: block;
  }

  .capcard_component {
    padding: 2rem 1.5rem;
  }

  .capcard_content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .capcard_title-wrapper {
    width: auto;
  }

  .capcard_number-wrapper {
    width: auto;
  }

  .capcard_description-wrapper {
    flex: none;
    width: 100%;
  }

  .div-block-14 {
    grid-template-columns: 1fr;
  }

  .capcard_lower-content-left,
  .capcard_lower-content-sidebar {
    padding: 2rem 1.5rem;
  }

  /* -- Decades grid: single column, push quote below -- */
  .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* -- Funding path spacing -- */
  .div-block-16 {
    margin-right: 0;
  }

  .section_5steps .div-block-17 {
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* -- Meet Cecil -- */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-stack-med.align-center img {
    max-width: 20rem;
  }

  /* -- Recent work: 2 columns on tablet -- */
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .div-block-20 {
    padding: 2rem;
  }

  .div-block-20:nth-child(even) {
    border-right: none;
  }

  /* -- Footer CTA -- */
  .div-block-21 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* Side fades are hidden globally at <1630px via their own query. */

  /* -- Padding-section adjustments -- */
  .padding-section-large {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .padding-section-medium {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Quote SVG (.code-embed) on mobile: place above the quote text instead
   of absolutely positioned at the top-left of the sidebar, where it
   collides with the quote on narrow columns. */
@media screen and (max-width: 991px) {
  .code-embed {
    position: static !important;
    margin: 0 0 0.75rem 0 !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    order: -1;
  }

  .capcard_lower-content-sidebar {
    align-items: flex-start;
  }
}

/* ============================================================
   MOBILE: max-width 767px
   ============================================================ */
@media screen and (max-width: 767px) {

  /* -- Nav logo -- */
  .nav_logo {
    width: 14rem;
  }

  /* -- Hero headings -- */
  .hero_heading,
  .hero_heading.is-italic {
    font-size: 2.5rem;
  }

  .hero_heading.is-italic .italic-text {
    font-size: 3rem;
  }

  .hero2_heading,
  .hero2_heading.is-italic {
    font-size: 2.25rem;
  }

  .hero2_heading.is-italic .italic-text-2 {
    font-size: 2.5rem;
  }

  .is-color.is-large {
    font-size: 2rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  .text-size-large {
    font-size: 1rem;
  }

  .text-size-medium {
    font-size: 1rem;
  }

  /* -- Logo bar: tighter wrap -- */
  .div-block-6 {
    gap: 1.5rem 2rem;
    padding-bottom: 2rem;
  }

  .div-block-6 .image {
    height: 38px;
  }

  /* -- Navigator section background: very subtle on mobile -- */
  .section_guide {
    background-size: auto 25%;
    background-position: right -6rem top;
  }

  /* -- Navigator logos: stay 2x2 with smaller icons -- */
  .guide_logos-icon {
    height: 48px;
  }

  .guide_logos-text {
    font-size: 0.8125rem;
  }

  /* -- Capabilities cards: reduce padding further -- */
  .capcard_component {
    padding: 1.5rem 1.25rem;
  }

  .capcard_number-wrapper h2 {
    font-size: 1.5rem;
  }

  .capcard_title-wrapper h3 {
    font-size: 1.5rem;
  }

  .capcard_lower-content-left,
  .capcard_lower-content-sidebar {
    padding: 1.5rem 1.25rem;
  }

  .text-block {
    font-size: 1.125rem;
  }

  /* -- Funding path cards -- */
  .plan_step-box {
    max-width: 18rem;
    padding: 1.5rem;
  }

  /* -- Recent work: 1 column on mobile -- */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .div-block-20 {
    padding: 1.5rem;
    border-right: none;
  }

  /* -- Section padding -- */
  .padding-section-large {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .padding-section-medium {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .padding-section-small {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* ============================================================
   SMALL MOBILE: max-width 479px
   ============================================================ */
@media screen and (max-width: 479px) {

  .nav_logo {
    width: 12rem;
  }

  .nav_container {
    padding: 0.75rem 1rem;
  }

  .hero_heading,
  .hero_heading.is-italic {
    font-size: 2.125rem;
  }

  .hero_heading.is-italic .italic-text {
    font-size: 2.5rem;
  }

  .hero2_heading,
  .hero2_heading.is-italic {
    font-size: 2rem;
  }

  .hero2_heading.is-italic .italic-text-2 {
    font-size: 2.25rem;
  }

  .is-color.is-large {
    font-size: 1.75rem;
  }

  /* Logo bar: single wider wrap */
  .div-block-6 {
    gap: 1.25rem 1.5rem;
  }

  .div-block-6 .image {
    height: 32px;
  }

  /* Funding path: smaller cards to keep carousel snappy */
  .plan_step-box {
    max-width: 15rem;
    padding: 1.25rem;
  }

  .mobile-menu-inner {
    padding: 1rem 1rem 1.5rem;
  }
}

/* -----------------------------------------------------------
   Body Copy Sizing
   Bumps the base body font from 16px/2.0 to 18px/1.75 so all
   text that inherits (paragraphs, list items, links, divs,
   buttons, labels) scales up consistently. Elements with their
   own explicit font-size (eyebrows, .text-size-medium,
   .text-size-large, headings, nav links) are unaffected.
   ----------------------------------------------------------- */
body {
  font-size: 1.125rem;
  line-height: 1.75;
}

.w-richtext li + li,
.w-richtext ul li {
  margin-top: 0.35rem;
}

/* -----------------------------------------------------------
   Cecil Lightbox
   Modal biography of Dr. Cecil G. Sheps, triggered from the
   MeetCecil section.
   ----------------------------------------------------------- */
.cecil-link-button {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cecil-link-button:hover,
.cecil-link-button:focus-visible {
  color: var(--base-color-brand--unc-blue);
  outline: none;
}

.cecil-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(0, 0, 50, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: cecilFadeIn 0.2s ease-out;
}

.cecil-lightbox {
  position: relative;
  background: #fff;
  color: var(--text-color--text-primary, #000);
  border-radius: 16px;
  width: min(960px, 100%);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 50, 0.45);
  animation: cecilRiseIn 0.25s ease-out;
}

.cecil-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 0;
  background: var(--base-color-brand--unc-navy, #000032);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cecil-lightbox-close:hover,
.cecil-lightbox-close:focus-visible {
  background: var(--base-color-brand--unc-blue, #2a7aaa);
  transform: scale(1.05);
  outline: none;
}

.cecil-lightbox-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2.5rem;
}

.cecil-lightbox-portrait {
  text-align: center;
}

.cecil-lightbox-portrait img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  object-position: center right;
}

.cecil-lightbox-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--base-color-neutral--neutral, #666);
  line-height: 1.4;
}

.cecil-lightbox-body {
  font-size: 1.125rem;
  line-height: 1.75;
}

.cecil-lightbox-title {
  margin: 0 0 1rem 0;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--base-color-brand--unc-navy, #000032);
}

.cecil-lightbox-body p {
  margin: 0 0 1rem 0;
}

.cecil-lightbox-body p:last-child {
  margin-bottom: 0;
}

.cecil-lightbox-tagline {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color--border-primary, #eee);
  font-style: italic;
  color: var(--base-color-brand--unc-blue, #2a7aaa);
}

@keyframes cecilFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cecilRiseIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .cecil-lightbox-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 1.25rem 1.5rem;
  }

  .cecil-lightbox-portrait img {
    max-width: 200px;
    margin: 0 auto;
  }

  .cecil-lightbox-title {
    font-size: 1.4rem;
  }

  .cecil-lightbox-body {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cecil-lightbox-backdrop,
  .cecil-lightbox {
    animation: none;
  }
}
