/* ResumeSoar: full-bleed photographic hero + lightweight site-wide motion. */
.site-header { padding: 8px 0; }
.site-header .header-inner { min-height: 80px; }
.site-header .brand-logo-link { width: 180px; height: 80px; }
.site-header .brand-logo-img { width: 180px; height: auto; max-height: 80px; object-fit: contain; }
.site-footer .brand-logo-link { width: 240px; height: auto; max-width: 100%; }
.site-footer .brand-logo-link img { width: 240px; height: auto; }
.hero-redesigned {
  position: relative;
  isolation: isolate;
  background: #FBF6EE;
  padding: 0;
  overflow: hidden;
}
.hero-redesigned .exact-hero-container { position: static; }
.hero-redesigned .exact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 620px;
  gap: 24px;
}
.hero-redesigned .exact-hero-content {
  position: relative;
  z-index: 3;
  padding: 48px 0;
}
.hero-redesigned .exact-hero-eyebrow { font-size: 0.8125rem; margin-bottom: 24px; }
.hero-redesigned .exact-hero-title {
  font-size: clamp(3.25rem,5.1vw,5.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.hero-redesigned .exact-hero-subtitle { font-size: 1.1875rem; line-height: 1.55; margin-bottom: 22px; max-width: 510px; }
.hero-redesigned .hero-tagline { margin: 0 0 24px; font-size: 0.875rem; }
.hero-redesigned .exact-hero-metrics { gap: 24px; margin-bottom: 32px; }
.hero-redesigned .exact-hero-cta { gap: 12px; }
.hero-redesigned .exact-hero-image-wrap {
  position: absolute;
  inset: 0 0 0 47%;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none;
  margin: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 16%, #000 100%);
}
.hero-redesigned .exact-hero-image-wrap picture { width: 100%; height: 100%; display: block; }
.hero-redesigned .exact-hero-woman {
  display: block;
  width: 100%; height: 100%; max-width: none; max-height: none;
  object-fit: cover;
  object-position: 50% 30%;
  -webkit-mask-image: none; mask-image: none;
  transform-origin: 68% 55%;
}
.hero-redesigned::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 2; pointer-events: none;
  background: linear-gradient(90deg,#FBF6EE 0%,rgba(251,246,238,.98) 35%,rgba(251,246,238,.45) 49%,transparent 61%);
}
.hero-redesigned::after {
  content: '';
  width: 430px; height: 430px;
  position: absolute; left: -220px; bottom: -330px;
  z-index: 0; pointer-events: none;
  border-radius: 50%;
  background: #F8D8B8; filter: blur(65px); opacity: .4;
}
/* Content is visible by default. Motion is progressively enabled by JavaScript. */
.motion-ready:not(.motion-paused) .hero-redesigned .hero-enter {
  animation: soar-enter .8s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--enter-delay,0ms);
}
.motion-ready:not(.motion-paused) .hero-redesigned .exact-hero-woman {
  animation: soar-photo-breathe 14s ease-in-out infinite alternate;
}
.motion-ready:not(.motion-paused) .hero-redesigned .hero-dash {
  animation: soar-accent 3s ease-in-out infinite;
}
@keyframes soar-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes soar-photo-breathe { from { transform: scale(1); } to { transform: scale(1.025); } }
@keyframes soar-accent { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.65); } }
.site-motion-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 1100;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 14px;
  background: #FFF; color: #23354A; border: 1px solid #D7DFE7; border-radius: 8px;
  font: 600 14px/1.3 var(--font-body);
  box-shadow: 0 2px 12px rgba(11,25,44,.08); cursor: pointer;
}
.site-motion-toggle[hidden] { display: none; }
.site-motion-toggle:hover { border-color: #C84900; color: #A83B00; }
.site-scroll-progress { position: fixed; left: 0; top: 0; z-index: 2000; height: 3px; width: 100%; transform: scaleX(0); transform-origin: left; background: #FF7A11; pointer-events: none; }
/* Consistent, understated interactive feedback across public routes. */
@media (hover: hover) and (pointer: fine) {
  .btn, .btn-hero-orange, .btn-hero-white, .btn-pkg-select { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
  .btn:hover, .btn-hero-orange:hover, .btn-hero-white:hover, .btn-pkg-select:hover { transform: translateY(-2px); }
  .service-pro-card, .clean-review-card, .sample-gallery-card, .writer-profile-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
  .service-pro-card:hover, .clean-review-card:hover, .sample-gallery-card:hover, .writer-profile-card:hover { transform: translateY(-4px); border-color: #E3B68E; box-shadow: 0 10px 28px rgba(15,23,42,.07); }
}
@media (min-width: 1600px) {
  .hero-redesigned .exact-hero-grid { min-height: 700px; }
  .hero-redesigned .exact-hero-content { padding: 64px 0; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero-redesigned .exact-hero-grid { min-height: 560px; }
  .hero-redesigned .exact-hero-title { font-size: 3.4rem; }
  .hero-redesigned .exact-hero-metrics { gap: 16px; }
  .hero-redesigned .metric-badge { gap: 8px; }
  .hero-redesigned .metric-circle { width: 40px; height: 40px; }
  .hero-redesigned .metric-val { font-size: 1rem; }
  .hero-redesigned .metric-lbl { font-size: .875rem; white-space: normal; }
}
@media (max-width: 900px) {
  .hero-redesigned .exact-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-redesigned .exact-hero-content { padding: 40px 0 28px; text-align: center; }
  .hero-redesigned .exact-hero-title { font-size: clamp(2.8rem,7vw,4rem); }
  .hero-redesigned .exact-hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-redesigned .exact-hero-image-wrap {
    position: relative; inset: auto;
    width: calc(100% + 40px); height: clamp(340px,75vw,580px);
    margin-left: -20px; margin-right: -20px;
    -webkit-mask-image: linear-gradient(to bottom,transparent 0%,#000 12%); mask-image: linear-gradient(to bottom,transparent 0%,#000 12%);
  }
  .hero-redesigned .exact-hero-woman { object-position: 50% 28%; }
  .hero-redesigned::before { display: none; }
  .hero-redesigned .exact-hero-eyebrow, .hero-redesigned .exact-hero-cta, .hero-redesigned .exact-hero-metrics { justify-content: center; }
}
@media (max-width: 768px) {
  .site-header { min-height: 84px !important; padding: 8px 0 !important; }
  .site-header .header-inner { height: 66px !important; min-height: 66px !important; }
  .site-header .brand-logo-link { width: 140px !important; height: 62px !important; max-width: 140px !important; }
  .site-header .brand-logo-img { width: 140px !important; height: auto !important; max-width: 140px !important; max-height: 62px !important; }
  .site-header .header-actions { margin-right: 8px !important; }
  .site-header .header-actions .btn { font-size: .875rem !important; padding: 10px 12px !important; }
  .mobile-dropdown-menu { max-height: calc(100dvh - 86px); }
}
@media (max-width: 640px) {
  .hero-redesigned .exact-hero-content { padding-top: 32px; }
  .hero-redesigned .exact-hero-title { font-size: clamp(2.5rem,10vw,3.4rem); margin-bottom: 20px; }
  .hero-redesigned .exact-hero-eyebrow { font-size: .75rem; gap: 5px 7px; margin-bottom: 20px; }
  .hero-redesigned .exact-hero-subtitle { font-size: 1.0625rem; }
  .hero-redesigned .exact-hero-metrics { flex-direction: row; align-items: flex-start; gap: 12px; }
  .hero-redesigned .exact-hero-cta a { width: auto; flex: 1 1 auto; font-size: .9375rem; padding: 12px 14px; }
  .hero-redesigned .exact-hero-image-wrap { height: 360px; }
  .site-motion-toggle { bottom: 12px; right: 12px; padding: 10px 12px; }
}
@media (max-width: 360px) {
  .site-header .brand-logo-link, .site-header .brand-logo-img { width: 120px !important; max-width: 120px !important; }
  .site-header .header-actions .btn { font-size: .8125rem !important; padding: 10px !important; }
  .hero-redesigned .exact-hero-cta a { flex-basis: 100%; }
}
.motion-paused .hero-enter { animation: none !important; }
.motion-paused .exact-hero-woman { animation-play-state: paused !important; }
.motion-paused .hero-dash { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-redesigned *, .hero-redesigned::after { animation: none !important; transition: none !important; }
  .site-scroll-progress { display: none; }
  .site-motion-toggle { display: none; }
}
/* Keep the portrait's head in frame at ultrawide desktop sizes. */
.hero-redesigned .exact-hero-woman { object-position: 50% 0%; }
@media (min-width: 901px) {
  .hero-redesigned .exact-hero-content { text-align: left; }
  .hero-redesigned .exact-hero-eyebrow, .hero-redesigned .exact-hero-metrics, .hero-redesigned .exact-hero-cta { justify-content: flex-start; }
}
/* Older mobile logo rules must not collapse the taller tagline logo in footer. */
.site-footer .brand-logo-link { display: block !important; width: 240px !important; max-width: 100% !important; height: auto !important; }
.site-footer .brand-logo-link img { display: block; width: 240px !important; height: auto !important; }
@media (max-width: 640px) {
  .site-footer .brand-logo-link, .site-footer .brand-logo-link img { width: 220px !important; max-width: 100% !important; }
}
/* Keep motion controls in the header, never over a page's content or CTAs. */
.site-header .site-motion-toggle {
  position: static; flex-shrink: 0;
  width: 44px; height: 44px; padding: 0;
  background: rgba(255,255,255,.06); color: #FFF;
  border: 1px solid rgba(255,255,255,.3); box-shadow: none;
}
.site-header .site-motion-toggle:hover { border-color: #FF9C5B; color: #FFB17D; }
.site-header .site-motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header .header-actions { gap: 8px; }
@media (max-width: 768px) {
  .site-header .brand-logo-link, .site-header .brand-logo-img { width: 120px !important; max-width: 120px !important; }
  .site-header .header-actions { margin-right: 4px !important; gap: 6px; }
  .site-header .header-actions .btn { padding: 10px !important; }
}
@media (max-width: 360px) {
  .site-header .header-actions > .btn-header-cta { display: none !important; }
}
/* Mobile services disclosure. Links remain visible if scripting is unavailable. */
.mobile-services-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; text-align: left; font-family: var(--font-heading);
  cursor: pointer; min-height: 48px;
}
.mobile-services-toggle svg { flex-shrink: 0; transition: transform .2s ease; }
.mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-subservices-list[hidden] { display: none !important; }
/* Writers hero: staggered copy, gently floating before/after documents. */
.motion-ready:not(.motion-paused) .writer-hero-content .hero-enter {
  animation: soar-enter .8s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--enter-delay,0ms);
}
.motion-ready:not(.motion-paused) .writer-motion-stage .resume-card-before {
  animation: soar-before-float 6s ease-in-out infinite;
}
.motion-ready:not(.motion-paused) .writer-motion-stage .resume-card-after {
  animation: soar-after-float 6s ease-in-out infinite;
}
.writer-motion-stage .resume-card-after::after {
  content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 3px;
  background: linear-gradient(90deg,transparent,#FF7A11,transparent);
  box-shadow: 0 0 16px rgba(255,122,17,.18); opacity: 0;
  pointer-events: none;
}
.motion-ready:not(.motion-paused) .writer-motion-stage .resume-card-after::after {
  animation: soar-document-scan 7s ease-in-out infinite;
}
@keyframes soar-before-float {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(-4.5deg); }
}
@keyframes soar-after-float {
  0%,100% { transform: translateY(-5px) rotate(4deg); }
  50% { transform: translateY(5px) rotate(2.5deg); }
}
@keyframes soar-document-scan {
  0%,12% { top: 8%; opacity: 0; }
  20% { opacity: .7; }
  65% { top: 92%; opacity: .7; }
  72%,100% { top: 92%; opacity: 0; }
}
.writer-motion-stage:hover .resume-card-tilt,
.writer-motion-stage:focus-within .resume-card-tilt { animation-play-state: paused !important; }
.motion-paused .writer-motion-stage *, .motion-paused .writer-motion-stage *::after { animation: none !important; }
.writer-hero .btn-writer-primary { background: #C84900; color: #FFF !important; }
/* Reserve enough height so floating documents never overlap the next section. */
.writer-motion-stage { min-height: 500px; }
@media (max-width: 640px) {
  .writer-motion-stage { min-height: 470px; }
  .writer-motion-stage .resume-card-before { width: min(70%,250px); left: 6px; }
  .writer-motion-stage .resume-card-after { width: min(74%,265px); right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .writer-hero *, .writer-hero *::after { animation: none !important; transition: none !important; }
  .writer-motion-stage .resume-card-after::after { display: none; }
}
/* Stack legal/contact hero copy consistently rather than inheriting nav flex. */
.inner-page-header > .container { display: block; text-align: center; }
.inner-page-header .section-label { display: flex; justify-content: center; }
.inner-page-header h1 { margin: 12px auto 18px; }
.inner-page-header p { max-width: 740px; margin: 0 auto; }
.inner-page-header h1, .inner-page-header p { display: block; }
/* Compact desktop-style mobile hero: copy and portrait together in one section.
   Metrics and CTAs share the bottom row so labels and tap targets stay readable. */
@media (max-width: 900px) {
  .hero-redesigned .exact-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-areas:
      "eyebrow eyebrow"
      "title photo"
      "description photo"
      "tagline photo"
      "metrics metrics"
      "actions actions";
    align-items: start;
    gap: 16px 12px;
    padding: 28px 0;
    min-height: 0;
  }
  .hero-redesigned .exact-hero-content { display: contents; }
  .hero-redesigned .exact-hero-eyebrow {
    grid-area: eyebrow; justify-content: flex-start;
    font-size: .875rem; line-height: 1.45; letter-spacing: .02em;
    margin: 0; gap: 4px 8px;
  }
  .hero-redesigned .exact-hero-title {
    grid-area: title; text-align: left;
    font-size: clamp(2rem,5.6vw,2.8rem); line-height: 1.08;
    letter-spacing: -.04em; margin: 0; align-self: end;
  }
  .hero-redesigned .exact-hero-subtitle {
    grid-area: description; text-align: left;
    font-size: 1rem; line-height: 1.5;
    margin: 0; max-width: none;
  }
  .hero-redesigned .hero-tagline {
    grid-area: tagline; text-align: left;
    font-size: .875rem; line-height: 1.4; margin: 0;
  }
  .hero-redesigned .exact-hero-image-wrap {
    grid-area: photo; position: relative; inset: auto;
    align-self: stretch;
    width: calc(100% + 20px); height: 100%; min-height: 280px;
    margin: 0 -20px 0 0;
    -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 13%);
    mask-image: linear-gradient(90deg,transparent 0%,#000 13%);
  }
  .hero-redesigned .exact-hero-image-wrap::after {
    content: ''; position: absolute; inset: auto 0 0;
    height: 40px; background: linear-gradient(transparent,#FBF6EE);
    pointer-events: none;
  }
  .hero-redesigned .exact-hero-woman {
    height: 100%; width: 100%; max-height: none;
    object-fit: cover; object-position: 56% 0%;
  }
  .hero-redesigned .exact-hero-metrics {
    grid-area: metrics; display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px; width: 100%; margin: 0;
    padding-top: 4px; align-items: start;
  }
  .hero-redesigned .exact-hero-metrics .metric-badge {
    display: flex; flex-direction: row; align-items: flex-start;
    justify-content: flex-start; min-width: 0; gap: 8px;
  }
  .hero-redesigned .metric-info { min-width: 0; text-align: left; }
  .hero-redesigned .metric-val { font-size: 1rem; line-height: 1.3; }
  .hero-redesigned .metric-lbl { font-size: .875rem; line-height: 1.35; white-space: normal; }
  .hero-redesigned .metric-circle { width: 34px; height: 34px; border-width: 1.5px; }
  .hero-redesigned .metric-circle svg { width: 19px; height: 19px; }
  .hero-redesigned .exact-hero-cta {
    grid-area: actions; display: grid; grid-template-columns: 1.1fr 1fr;
    width: 100%; gap: 12px; margin: 0;
  }
  .hero-redesigned .exact-hero-cta a {
    display: inline-flex; justify-content: center; align-items: center;
    min-width: 0; width: 100%; min-height: 48px;
    padding: 12px; gap: 6px; font-size: 1rem; line-height: 1.3;
  }
}
@media (max-width: 640px) {
  .hero-redesigned .exact-hero-grid {
    grid-template-columns: 1.18fr 1fr;
    gap: 12px 8px; padding: 24px 0;
  }
  .hero-redesigned .exact-hero-eyebrow .hero-dash { display: none; }
  .hero-redesigned .exact-hero-eyebrow { font-size: .875rem; letter-spacing: 0; }
  .hero-redesigned .exact-hero-title { font-size: clamp(1.375rem,6.7vw,1.875rem); }
  .hero-redesigned .exact-hero-subtitle { font-size: .875rem; line-height: 1.5; }
  .hero-redesigned .exact-hero-image-wrap { min-height: 260px; }
  .hero-redesigned .exact-hero-metrics { gap: 10px; }
  .hero-redesigned .exact-hero-metrics .metric-badge {
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
  }
  .hero-redesigned .exact-hero-metrics .metric-info { width: 100%; text-align: center; }
  .hero-redesigned .exact-hero-metrics .metric-lbl { max-width: 100%; text-wrap: balance; }
  .hero-redesigned .exact-hero-cta { gap: 10px; }
  .hero-redesigned .exact-hero-cta a { font-size: .875rem; padding: 12px 8px; min-height: 48px; }
  .hero-redesigned .exact-hero-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
}
@media (max-width: 640px) {
  .hero-redesigned .exact-hero-cta a {
    font-size: .875rem !important;
    padding: 12px 8px !important;
    min-height: 48px !important;
    border-radius: 6px;
  }
  .hero-redesigned .exact-hero-cta a span { white-space: nowrap; }
}

/* Continuous ambient hero shades. Decorative only; no layout or hit targets. */
.hero-redesigned::after,
.writer-hero::before,
.writer-hero::after {
  content: ''; position: absolute; pointer-events: none;
  border: 0; border-radius: 0; filter: none;
  inset: -18% -12%; width: auto; height: auto;
  opacity: 1; transform: translate3d(0,0,0);
  animation: soar-ambient-drift 16s ease-in-out infinite;
}
.hero-redesigned::after {
  z-index: 2;
  background:
    radial-gradient(ellipse at 22% 28%,rgba(255,164,78,.23),transparent 44%),
    radial-gradient(ellipse at 42% 82%,rgba(235,172,108,.18),transparent 40%);
  /* Keep the moving color off the portrait and soften it behind the copy. */
  -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 32%,transparent 68%);
  mask-image: linear-gradient(90deg,#000 0%,#000 32%,transparent 68%);
}
.writer-hero { isolation: isolate; }
.writer-hero > .container { position: relative; z-index: 1; }
.writer-hero::before {
  z-index: 0;
  background: radial-gradient(ellipse at 18% 32%,rgba(255,169,83,.22),transparent 44%);
}
.writer-hero::after {
  z-index: 0;
  background: radial-gradient(ellipse at 78% 64%,rgba(247,182,104,.28),transparent 42%);
  animation-name: soar-ambient-return;
  animation-duration: 20s;
  animation-delay: -8s;
}
@keyframes soar-ambient-drift {
  0%,100% { transform: translate3d(-5%,-3%,0) scale(1); opacity: .65; }
  50% { transform: translate3d(8%,5%,0) scale(1.08); opacity: 1; }
}
@keyframes soar-ambient-return {
  0%,100% { transform: translate3d(5%,3%,0) scale(1.06); opacity: 1; }
  50% { transform: translate3d(-7%,-4%,0) scale(.98); opacity: .6; }
}
/* Pause control freezes the ambient loop at its current position. */
.motion-paused .hero-redesigned::after,
.motion-paused .writer-hero::before,
.motion-paused .writer-hero::after { animation-play-state: paused !important; }
@media (max-width: 900px) {
  .hero-redesigned .exact-hero-grid > .exact-hero-content > * { position: relative; z-index: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-redesigned::after,
  .writer-hero::before,
  .writer-hero::after { animation: none !important; transform: none; opacity: .65; }
}

/* Writer profiles: supplied portraits and reference credentials. */
.writer-profile-card { position: relative; padding: 24px 20px; gap: 16px; }
.writer-profile-featured { border: 2px solid #E35B0B; }
.writer-featured-label { position: absolute; top: -14px; left: 16px; display: flex; gap: 6px; align-items: center; background: #C84900; color: #FFF; border-radius: 6px; padding: 5px 10px; font-size: .875rem; font-weight: 700; line-height: 1.3; }
.writer-avatar-img { object-position: center 20%; width: 96px; height: 124px; }
.writer-fullname { margin-bottom: 8px; }
.writer-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .875rem; line-height: 1.4; color: #334155; margin-bottom: 4px; }
.writer-rating-star { color: #A85A00; font-size: 1.125rem; }
.writer-qualification { color: #334155; font-size: .875rem; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.writer-specialty { color: #B84200; margin-bottom: 6px; }
.writer-summary-bio { font-size: .875rem; }
.writer-pill { color: #A83B00; font-size: .875rem; }
.writer-badge-exp { min-width: 70px; padding: 12px 8px; }
.exp-years-num { color: #B84200; }
.exp-years-txt { font-size: .875rem; color: #4B5563; line-height: 1.35; }
@media (max-width: 640px) {
  .writer-profile-card { padding: 28px 20px 20px; gap: 16px; }
  .writer-avatar-img { width: 112px; height: 140px; }
  .writer-rating { justify-content: center; }
}
