:root {
  --maeveport-about-hero-pill-border-radius: 20px;
  --maeveport-about-hero-pill-border-size: 1px;
  --maeveport-about-hero-pill-angle: 0deg; /* GSAP will animate this */
  --maeveport-about-hero-pill-c1: #12aa72;
  --maeveport-about-hero-pill-c2: rgba(18, 170, 114, 0.5);
  --maeveport-about-hero-pill-border-blur-size: 2px;
  --maeveport-about-hero-pill-border-blur: 5px;
  --maeveport-about-hero-pill-border-blur-opacity: 0.7;
  /* --maeveport-about-hero-pill-animation-duration: 4s; /* No longer needed for CSS animation */
}

/* @keyframes maeveportAboutHeroBorderRotate removed */

.maeveport-about-us-hero {
  display: flex;
  min-height: 85vh; /* Restored to 85vh for wider desktops */
  background-color: #000; /* Fallback if left column doesn't cover */
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

.maeveport-about-us-hero__left-column {
  flex: 2; /* Occupies 2/3 of the width */
  background-color: #000;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  contain: paint;
}

.maeveport-about-us-hero__right-column {
  flex: 1; /* Occupies 1/3 of the width */
  display: flex; /* To make the image fill the container */
}

.maeveport-about-us-hero__image,
.maeveport-about-us-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Removes any potential space below the image */
}

figure.maeveport-about-us-hero__image {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  unicode-bidi: isolate;
}

/* Pill styling */
.maeveport-about-us-hero__pill.c-pill_wrapper {
  position: relative;
  display: inline-block; /* To wrap content */
  padding: 0.5rem 1rem;
  font-size: var(--font-size-caption-large);
  line-height: 1.4;
  border-radius: var(--maeveport-about-hero-pill-border-radius);
  margin-bottom: 3.5rem; /* Increased from 2.5rem - Space below pill */
  align-self: flex-start; /* Align to the start of the flex container */
  /* Set initial angle for GSAP */
  --maeveport-about-hero-pill-angle: 0deg;
}

.maeveport-about-us-hero__pill .c-text_inherit {
  position: relative; /* Ensure text is above pseudo-elements */
  z-index: 1;
  margin-block: 0;
}

.maeveport-about-us-hero__pill.c-pill_wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--maeveport-about-hero-pill-border-radius);
  padding: var(--maeveport-about-hero-pill-border-size);
  display: block;
  background-size: 100% 100%;
  background-position: 0px 0px;
  background-image: conic-gradient(
    from var(--maeveport-about-hero-pill-angle) at 50% 50%,
    rgba(255, 255, 255, 0.09) 85%,
    var(--maeveport-about-hero-pill-c1) 98%
  );
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  /* animation property removed */
}

.maeveport-about-us-hero__pill.c-pill_wrapper::after {
  display: block;
  left: var(--maeveport-about-hero-pill-border-blur-size);
  right: var(--maeveport-about-hero-pill-border-blur-size);
  top: var(--maeveport-about-hero-pill-border-blur-size);
  bottom: var(--maeveport-about-hero-pill-border-blur-size);
  position: absolute;
  background-size: 200% 200%;
  background-position: 0px 0px;
  background-image: conic-gradient(
    from var(--maeveport-about-hero-pill-angle) at 25% 25%,
    var(--maeveport-about-hero-pill-c2) 90%,
    var(--maeveport-about-hero-pill-c1) 100%
  );
  z-index: -1;
  content: '';
  -webkit-filter: blur(var(--maeveport-about-hero-pill-border-blur));
  filter: blur(var(--maeveport-about-hero-pill-border-blur));
  opacity: var(--maeveport-about-hero-pill-border-blur-opacity);
  /* animation property removed */
}

.maeveport-about-us-hero__heading {
  font-size: var(--font-size-display-lg);
  font-weight: 400; /* Regular font weight */
  line-height: 1.1;
  margin-top: 0; /* Reset default */
  margin-bottom: 1.5rem;
}

.maeveport-about-us-hero__paragraph {
    font-size: var(--font-size-body-lg);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 60ch; /* Improve readability */
  }

/* Responsive Adjustments */

/* Small Desktops / Large Tablets (e.g., iPad Pro Landscape) */
@media (min-width: 992px) and (max-width: 1299.98px) {
  .maeveport-about-us-hero {
    min-height: 40vh; /* Specific height for this range, changed from 70vh */
  }
  .maeveport-about-us-hero__left-column {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
  }
  .maeveport-about-us-hero__heading {
    font-size: var(
      --font-size-display-md
    ); /* Adjusted from base.css responsive values */
  }
  .maeveport-about-us-hero__paragraph {
    font-size: var(
      --font-size-body-md
    ); /* Adjusted from base.css responsive values */
  }
}

/* Tablets (e.g., iPad Portrait) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .maeveport-about-us-hero {
    min-height: auto; /* Allow content to define height as image is hidden */
  }
  .maeveport-about-us-hero__left-column {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 0;
    padding-right: 0;
    flex: 1; /* Take full width if image is hidden or stacked below */
  }
  .maeveport-about-us-hero__right-column {
    /* Image will be hidden below based on user request, but if it were to stack, this would be 100% width */
    display: none; /* Hiding as per request, can be changed to stack */
  }
  .maeveport-about-us-hero__heading {
    font-size: var(--font-size-display-sm); /* Adjusted */
  }
  .maeveport-about-us-hero__paragraph {
    font-size: var(--font-size-body-md);
  }
}

/* Mobile (Landscape and Portrait) */
@media (max-width: 767.98px) {
  .maeveport-about-us-hero {
    flex-direction: column;
    min-height: auto; /* Let content define height */
  }
  .maeveport-about-us-hero__left-column {
    padding-top: 6rem; /* Increased from 5.5rem */
    padding-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
    flex-basis: auto; /* Reset flex basis */
    order: 1; /* Ensure text appears first if structure changes */
  }
  .maeveport-about-us-hero__right-column {
    display: none; /* Hide image on mobile as requested */
    flex-basis: auto; /* Reset */
    min-height: 250px; /* Example if it were visible and stacked */
    order: 2;
  }
  .maeveport-about-us-hero__pill.c-pill_wrapper {
    margin-bottom: 2.5rem; /* Increased from 2rem */
    padding: 0.4rem 0.8rem;
    font-size: var(--font-size-caption); /* Smaller pill text */
  }
  .maeveport-about-us-hero__heading {
    font-size: var(--font-size-display-xs); /* From base.css mobile */
    margin-bottom: 1rem;
  }
  .maeveport-about-us-hero__paragraph {
    font-size: var(--font-size-body-sm); /* From base.css mobile */
  }
}
