/* ==========================================================
   GLOBAL REFINEMENTS
   Accessibility helpers, tighter spacing, focus states and shared motion.
   ========================================================== */

/* ForHer V3: curved motion, focused pathways, and a quiet editorial calendar. */

:root {
  --teal-readable: var(--teal);
  --soft-lilac: var(--surface-raised);
  --soft-mint: var(--surface-card);
  --nav-height: 88px;
  --work-index-height: 58px;
}

html {
  /* Keep the root scroll container unobstructed for mobile Safari. */
  scroll-padding-top: calc(var(--nav-height) + 8px);
}

body {
  /* Compensate for the fixed navigation exactly once on every page. */
  padding-top: var(--nav-height);
}

/* Clip oversized decorative shapes, but NOT an ancestor of the fixed navbar. */
main, #site-footer {
  overflow-x: clip;
}

body.dialog-open {
  overflow: hidden;
}

main,section,.container,.container>*,.split-heading>* {
  min-width: 0;
}

button,a,input {
  touch-action: manipulation;
}

button,input,select,textarea {
  font: inherit;
}

button {
  color: inherit;
}

button[hidden],[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 5px;
}

.eyebrow {
  color: var(--teal-readable);
}

.eyebrow.white {
  color: var(--aqua);
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-topline {
  margin-bottom: 30px;
}

.split-heading h2 {
  margin-bottom: 25px;
}

.page-hero {
  padding: 75px 0 80px;
}

.page-hero h1 {
  font-size: clamp(54px,6.8vw,96px);
}

.page-hero.compact-hero {
  padding: 48px 0 54px;
}

.compact-hero h1 {
  font-size: clamp(48px,5vw,76px);
  max-width: 900px;
}

.compact-hero .eyebrow {
  margin-top: 22px !important;
}

.compact-hero p {
  font-size: 17px;
  max-width: 720px;
}

.motion-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal] {
  transition: opacity .7s var(--ease),transform .7s var(--ease);
}

.btn {
  white-space: normal;
}

.btn .arr {
  flex-shrink: 0;
}

.hero-bottom {
  gap: 14px;
  flex-wrap: wrap;
}

.home-hero,.hero-grid {
  min-height: 650px;
}

.hero-grid {
  padding: 30px 0 45px;
}

.hero-visual {
  height: 570px;
}

.hero-copy p {
  max-width: 515px;
}

.hero-copy h1 {
  font-size: clamp(70px,7.8vw,112px);
}

.hero-image-shell {
  height: 500px;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-mini {
  left: -10px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-toast {
  position: fixed;
  z-index: 2000;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 15px 22px;
  background: var(--plum-dark);
  color: var(--ivory);
  border: 1px solid #a580bd;
  border-radius: 16px;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.footer-contact {
  color: #D5C1DE;
  margin-top: 14px;
  font-size: 13px;
}

.footer-top {
  gap: 45px;
}

.mobile-menu:not(.open) {
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.open {
  visibility: visible;
}

.mobile-toggle:focus-visible {
  border-radius: 8px;
}
