
/* =========================================================
   ABOUT ELIZABETH — root / component tokens
========================================================= */
#about-elizabeth {
  --ae-page-pad: clamp(20px, 3vw, 48px);
  --ae-shell-width: min(92rem, calc(100vw - (var(--ae-page-pad) * 2)));
  --ae-shell-pad: clamp(1.5rem, 2vw, 2.25rem);
  --ae-gap: clamp(2rem, 2.8vw, 3.5rem);
  --ae-media-width: min(42vw, 36rem);
  --ae-blur: 0.5rem;
  --ae-contrast: 1.15;

  position: relative;
  isolation: isolate;
  background: #e3e6e1;
  background-color: #e3e6e1;
  timeline-scope: --ae-section;
}

#about-elizabeth * {
  box-sizing: border-box;
}

/* =========================================================
   ABOUT ELIZABETH — panel theme tokens
========================================================= */
#about-elizabeth .panel-mono {
  --ae-panel-bg: #e3e6e1;
  --ae-text: #114b5f;
  --ae-eyebrow: #4f6b67;
}

#about-elizabeth .panel-mist {
  --ae-panel-bg: #d8eeed;
  --ae-text: #17313a;
  --ae-eyebrow: var(--accent-color);
}

#about-elizabeth .panel-parchment {
  --ae-panel-bg: #f3ead7;
  --ae-text: #2d2418;
  --ae-eyebrow: var(--accent-color);
}

#about-elizabeth .panel-sky {
  --ae-panel-bg: #e8eef4;
  --ae-text: #1e2c38;
  --ae-eyebrow: var(--accent-color);
}

#about-elizabeth .panel-contact {
  --ae-panel-bg: #d9e1db;
  --ae-text: #114b5f;
  --ae-eyebrow: #4f6b67;
  --ae-accent-soft: #1a936f;
}

/* =========================================================
   ABOUT ELIZABETH — scroll runway / stage system
========================================================= */
#about-elizabeth .ae-panel {
  position: relative;
  height: 100dvh;
  view-timeline-name: --ae-section;
  view-timeline-axis: block;
}

#about-elizabeth .ae-stage {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ae-panel-bg);
  background-color: var(--ae-panel-bg);
  color: var(--ae-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: aeBlink ease-in-out both;
  animation-timeline: --ae-section;
  animation-range: entry 0% exit 100%;
}

/* =========================================================
   ABOUT ELIZABETH — layout shell
========================================================= */
#about-elizabeth .ae-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, var(--ae-media-width));
  align-items: center;
  gap: var(--ae-gap);
  width: var(--ae-shell-width);
  padding: var(--ae-shell-pad);
}

#about-elizabeth .ae-shell-contact {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: start;
  gap: clamp(2rem, 3vw, 4rem);
}

/* =========================================================
   ABOUT ELIZABETH — copy / text
========================================================= */
#about-elizabeth .ae-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  min-width: 0;
  padding-left: clamp(0rem, 2vw, 1.5rem);
}

#about-elizabeth .ae-copy-contact {
  padding-top: clamp(0.5rem, 1vw, 1rem);
}

#about-elizabeth .ae-eyebrow {
  margin: 0;
  color: var(--ae-eyebrow);
  font-family: var(--default-font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
  opacity: 0.95;
}

#about-elizabeth .ae-title {
  max-width: 11ch;
  margin: 0;
  color: inherit;
  font-family: var(--heading-font);
  font-size: clamp(3.35rem, 2.2rem + 3.2vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

#about-elizabeth .ae-desc {
  max-width: 38rem;
  margin: 0;
  color: inherit;
  font-family: var(--default-font);
  font-size: clamp(1.08rem, 1rem + 0.28vw, 1.32rem);
  line-height: 1.75;
  text-wrap: balance;
}

#about-elizabeth .ae-copy-contact .ae-desc {
  max-width: 34rem;
}

/* =========================================================
   ABOUT ELIZABETH — media
========================================================= */
#about-elizabeth .ae-media {
  min-width: 0;
  pointer-events: auto;
}

#about-elizabeth .ae-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow:
    0 1.5rem 2.75rem rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

#about-elizabeth .panel-mono .ae-media img {
  filter: none;
}

/* =========================================================
   ABOUT ELIZABETH — social links
========================================================= */
#about-elizabeth .ae-social,
#about-elizabeth .ae-contact-social {
  margin-top: 1rem;
}

#about-elizabeth .ae-contact-social {
  margin-top: 1.4rem;
}

#about-elizabeth .ae-social h4,
#about-elizabeth .ae-contact-social h4 {
  margin: 0 0 0.75rem;
  color: inherit;
  font-family: var(--default-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

#about-elizabeth .ae-contact-social h4 {
  margin-bottom: 0.85rem;
}

#about-elizabeth .ae-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

#about-elizabeth .ae-social-links a {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0.35rem 1rem rgba(0, 0, 0, 0.08);
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

#about-elizabeth .ae-social-links a:hover,
#about-elizabeth .ae-social-links a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.1),
    0 0.5rem 1.1rem rgba(0, 0, 0, 0.12);
}

#about-elizabeth .ae-social-links i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Contact panel social variant */
#about-elizabeth .ae-contact-social .ae-social-links a {
  width: 2.85rem;
  height: 2.85rem;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(17, 75, 95, 0.1),
    0 0.45rem 1rem rgba(17, 75, 95, 0.08);
  color: #114b5f;
}

#about-elizabeth .ae-contact-social .ae-social-links a:hover,
#about-elizabeth .ae-contact-social .ae-social-links a:focus-visible {
  background: #1a936f;
  box-shadow:
    inset 0 0 0 1px rgba(26, 147, 111, 0.18),
    0 0.6rem 1.2rem rgba(26, 147, 111, 0.18);
  color: #f7fbf8;
}

/* =========================================================
   ABOUT ELIZABETH — CTA actions
========================================================= */
#about-elizabeth .ae-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
  pointer-events: auto;
}

#about-elizabeth .ae-cta-btn {
  all: unset;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 22px;
  overflow: hidden;
  border: 2px solid var(--ae-accent-soft, var(--accent-color));
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  pointer-events: auto;
  transition:
    transform 0.25s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

#about-elizabeth .ae-cta-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 150%;
  height: 0%;
  background: var(--ae-accent-soft, var(--accent-color));
  opacity: 0.5;
  transform: translate(-50%, -50%);
  transition: height 0.75s ease, opacity 0.75s ease;
}

#about-elizabeth .ae-cta-btn:hover,
#about-elizabeth .ae-cta-btn:focus-visible {
  transform: translateY(-1px);
  color: #fff;
}

#about-elizabeth .ae-cta-btn:hover::after,
#about-elizabeth .ae-cta-btn:focus-visible::after {
  height: 140%;
  opacity: 1;
}

#about-elizabeth .ae-cta-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ae-accent-soft, var(--accent-color)), white 35%);
  outline-offset: 3px;
}

/* =========================================================
   ABOUT ELIZABETH — contact form card
========================================================= */
#about-elizabeth .ae-contact-form-wrap {
  position: relative;
  z-index: 20;
  min-width: 0;
  pointer-events: auto;
}

#about-elizabeth .ae-contact-form {
  position: relative;
  z-index: 21;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 1rem 2rem rgba(17, 75, 95, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  color: #114b5f;
  pointer-events: auto;
}

#about-elizabeth .ae-contact-form label {
  position: relative;
  z-index: 22;
  display: block;
  margin-bottom: 0.45rem;
  color: #114b5f;
  font-family: var(--default-font);
  font-size: 0.94rem;
  font-weight: 600;
  pointer-events: auto;
}

#about-elizabeth .ae-contact-form .form-control,
#about-elizabeth .ae-contact-form textarea,
#about-elizabeth .ae-contact-form input,
#about-elizabeth .ae-contact-form button {
  position: relative;
  z-index: 22;
  pointer-events: auto;
}

#about-elizabeth .ae-contact-form .form-control {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 75, 95, 0.16);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
  color: #114b5f;
  cursor: text;
}

#about-elizabeth .ae-contact-form .form-control::placeholder {
  color: rgba(17, 75, 95, 0.55);
}

#about-elizabeth .ae-contact-form .form-control:focus {
  border-color: #1a936f;
  box-shadow: 0 0 0 0.2rem rgba(26, 147, 111, 0.14);
}

#about-elizabeth .ae-contact-form textarea.form-control {
  min-height: 11.5rem;
  resize: vertical;
}

#about-elizabeth .ae-contact-form button[type="submit"] {
  cursor: pointer;
}

#about-elizabeth .ae-contact-form .loading,
#about-elizabeth .ae-contact-form .error-message,
#about-elizabeth .ae-contact-form .sent-message {
  border-radius: 0.9rem;
}

#about-elizabeth .ae-contact-form .ae-actions {
  justify-content: flex-start;
  margin-top: 1rem;
}

/* =========================================================
   ABOUT ELIZABETH — interaction layer fixes
========================================================= */
/* The fixed stage should not eat clicks; interaction is re-enabled on actual content nodes. */
#about-elizabeth .ae-copy,
#about-elizabeth .ae-social,
#about-elizabeth .ae-social-links,
#about-elizabeth .ae-social-links a,
#about-elizabeth .ae-actions,
#about-elizabeth .ae-cta-btn {
  pointer-events: auto;
}

/* =========================================================
   ABOUT ELIZABETH — animation
========================================================= */
@keyframes aeBlink {
  0%,
  100% {
    filter: blur(var(--ae-blur)) contrast(var(--ae-contrast));
    opacity: 0;
    visibility: hidden;
  }

  50% {
    filter: blur(0) contrast(1);
    opacity: 1;
    visibility: visible;
  }
}

/* =========================================================
   ABOUT ELIZABETH — fallback when scroll timelines are unsupported
========================================================= */
@supports not (animation-timeline: auto) {
  html {
    scroll-snap-type: none;
  }

  #about-elizabeth .ae-panel {
    height: auto;
    min-height: auto;
  }

  #about-elizabeth .ae-stage {
    position: relative;
    inset: auto;
    display: block;
    padding: clamp(3rem, 8vw, 5rem) 0;
    filter: none;
    animation: none;
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 991.98px) {
  #about-elizabeth {
    --ae-page-pad: 10px !important;
    --ae-shell-pad: 0 !important;
  }

  #about-elizabeth .ae-panel {
    height: auto !important;
  }

  #about-elizabeth .ae-stage {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    padding: clamp(2.25rem, 6vw, 3.5rem) 0 !important;
    filter: none !important;
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #about-elizabeth .ae-shell {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: calc(100vw - 20px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #about-elizabeth .ae-shell-contact {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  #about-elizabeth .ae-copy {
    padding-left: 0 !important;
  }

  #about-elizabeth .ae-title {
    max-width: none !important;
    font-size: clamp(2.4rem, 7.2vw, 3.3rem) !important;
  }

  #about-elizabeth .ae-desc {
    max-width: 100% !important;
    text-wrap: pretty;
  }

  #about-elizabeth .ae-media img {
    width: 100% !important;
  }

  #about-elizabeth .ae-actions,
  #about-elizabeth .ae-contact-form .ae-actions {
    justify-content: center !important;
  }
}

@media (max-width: 575.98px) {
  #about-elizabeth {
    --ae-page-pad: 14px !important;
  }

  #about-elizabeth .ae-shell {
    width: calc(100vw - 28px) !important;
    gap: 1rem !important;
  }

  #about-elizabeth .ae-title {
    font-size: clamp(2.15rem, 8vw, 2.9rem) !important;
  }

  #about-elizabeth .ae-desc {
    font-size: clamp(1rem, 4.3vw, 1.14rem) !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 991.98px) {
  #about-elizabeth .ae-stage {
    position: relative;
    inset: auto;
    display: block;
    padding: clamp(3rem, 8vw, 5rem) 0;
    filter: none;
    animation: none;
    opacity: 1;
    visibility: visible;
  }

  /* Reduce the opening gap on the first panel only */
  #about-elizabeth .ae-panel:first-child .ae-stage {
    padding-top: 0.5rem;
  }
}


@media (max-width: 991.98px) {
  #about-elizabeth .ae-copy {
    padding-left: 0;
  }


  .ae-imdb-link {
    margin-top: 1.25rem;
  }

  .ae-imdb-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
  }

  .ae-imdb-link i {
    flex: 0 0 auto;
    line-height: 1;
  }

  .ae-imdb-link span {
    display: inline-block;
    line-height: 1.4;
  }




  #about-elizabeth .ae-title {
    max-width: 14ch;
    font-size: clamp(2.4rem, 1.8rem + 3vw, 3.5rem);
  }

  #about-elizabeth .ae-desc {
    max-width: 100%;
  }

  /* Pull the first panel content upward on mobile */
  #about-elizabeth .ae-panel:first-child .ae-shell {
    align-items: start !important;
  }

  #about-elizabeth .ae-panel:first-child .ae-copy {
    justify-content: flex-start !important;
    padding-top: 0 !important;
  }
}

#about-elizabeth .ae-panel:first-child .ae-stage {
  padding-top: 0 !important;
}

  .ae-contact-reasons {
  margin-top: 1.5rem;
}

.ae-contact-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.ae-contact-list li + li {
  margin-top: 0.45rem;
}

.ae-contact-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}
.ae-contact-reasons h4 {
  color: #000;
}